gnus-notifications.el: add nil checks
This commit is contained in:
parent
9d9edd4bae
commit
95729d50c0
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-09-11 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* gnus-notifications.el (gnus-notifications): Check for nil values in
|
||||
ignored addresses check.
|
||||
|
||||
2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* qp.el (quoted-printable-decode-region): Inline+CSE+strength-reduction.
|
||||
|
|
|
@ -166,8 +166,10 @@ This is typically a function to add in
|
|||
(or (mail-fetch-field "From") "")))
|
||||
(address (cadr address-components)))
|
||||
;; Ignore mails from ourselves
|
||||
(unless (gnus-string-match-p gnus-ignored-from-addresses
|
||||
address)
|
||||
(unless (and gnus-ignored-from-addresses
|
||||
address
|
||||
(gnus-string-match-p gnus-ignored-from-addresses
|
||||
address))
|
||||
(let* ((photo-file (gnus-notifications-get-photo-file address))
|
||||
(notification-id (gnus-notifications-notify
|
||||
(or (car address-components) address)
|
||||
|
|
Loading…
Add table
Reference in a new issue