From 34d0a92369bca068847db5576988d461f46e1351 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Thu, 30 Jun 2011 23:27:10 +0000 Subject: [PATCH] mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/mml2015.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 35ecf306122..08bd159c330 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2011-06-30 Katsumi Yamaoka + + * mml2015.el (mml2015-use): Replace string-match-p with string-match + for old Emacsen. + 2011-06-30 Daiki Ueno * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el index d7070effde5..7d8a4119c0e 100644 --- a/lisp/gnus/mml2015.el +++ b/lisp/gnus/mml2015.el @@ -59,8 +59,8 @@ ;; Don't load PGG if it is marked as obsolete ;; (Emacs 24). (when (and abs-file - (not (string-match-p "/obsolete/[^/]*\\'" - abs-file))) + (not (string-match "/obsolete/[^/]*\\'" + abs-file))) (ignore-errors (require 'pgg)) (and (fboundp 'pgg-sign-region) 'pgg)))) -- 2.39.2