diff options
Diffstat (limited to 'gnus-desktop-notify.el')
-rw-r--r-- | gnus-desktop-notify.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnus-desktop-notify.el b/gnus-desktop-notify.el index 04cc5ec..97e65f3 100644 --- a/gnus-desktop-notify.el +++ b/gnus-desktop-notify.el @@ -205,7 +205,7 @@ the notification of new messages (depending on the value of (defun gnus-desktop-notify--read-count (group) "Return read count for gnus GROUP." (let* ((range (gnus-range-normalize (gnus-info-read group))) - (count (gnus-last-element range))) + (count (car (last range)))) (or (cdr-safe count) count))) (defun gnus-desktop-notify--short-group-name (group) |