summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-notifications.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-13 17:40:34 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-13 17:40:34 +1100
commit9efc29a2dfda67c2e6b6693a6cb06a19fbdccaeb (patch)
tree2ee4a813f66d95e3bd6d960229c9f26c4fbbd199 /lisp/gnus/gnus-notifications.el
parent9bcefcf0b0bcb860f432299c8e6cf109d07ee8ef (diff)
downloademacs-9efc29a2dfda67c2e6b6693a6cb06a19fbdccaeb.tar.gz
Remove several gnus-util compat functions
* lisp/gnus/gnus-util.el (gnus-set-process-query-on-exit-flag): Remove. (gnus-read-shell-command): Remove. (gnus-match-substitute-replacement): Remove. (gnus-string-match-p): Remove. (gnus-string-prefix-p): Remove.
Diffstat (limited to 'lisp/gnus/gnus-notifications.el')
-rw-r--r--lisp/gnus/gnus-notifications.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el
index d0b0202788d..2f6d6a8b619 100644
--- a/lisp/gnus/gnus-notifications.el
+++ b/lisp/gnus/gnus-notifications.el
@@ -182,8 +182,9 @@ This is typically a function to add in
address
(cond ((functionp gnus-ignored-from-addresses)
(funcall gnus-ignored-from-addresses address))
- (t (gnus-string-match-p (gnus-ignored-from-addresses)
- address))))
+ (t (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)