diff options
author | wavexx <wavexx@thregr.org> | 2018-06-23 15:38:42 +0000 |
---|---|---|
committer | wavexx <wavexx@thregr.org> | 2018-06-23 15:38:42 +0000 |
commit | 44ebe0241a19f4052cd427dff408206542aa3c8f (patch) | |
tree | f8aeac87eaebf070330ca456b8442926201adf4a | |
parent | 52e5de0961ce0f6890d5e7f26bc05152b99d9979 (diff) | |
parent | f0051d8df17d2c074e8e040d0beb88169e2fb755 (diff) |
Merge branch 'gnus-last-element' into 'master'
Prefer built-ins to gnus utility functions
Closes #11
See merge request wavexx/gnus-desktop-notify.el!13
-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) |