]> git.eshelyaron.com Git - emacs.git/commitdiff
mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Jun 2011 23:27:10 +0000 (23:27 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 30 Jun 2011 23:27:10 +0000 (23:27 +0000)
lisp/gnus/ChangeLog
lisp/gnus/mml2015.el

index 35ecf306122ddff7794c1d648dd118544f071f05..08bd159c330a775713e1472c11cb8cf855daa590 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-30  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mml2015.el (mml2015-use): Replace string-match-p with string-match
+       for old Emacsen.
+
 2011-06-30  Daiki Ueno  <ueno@unixuser.org>
 
        * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG
index d7070effde518631301279ac44befef3d301f595..7d8a4119c0e6842c6582c0899a9231779bd7bbe8 100644 (file)
@@ -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))))