emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104821: mml2015.el (mml2015-use): Re


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104821: mml2015.el (mml2015-use): Replace string-match-p with string-match for old Emacsen.
Date: Thu, 30 Jun 2011 23:27:10 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104821
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-06-30 23:27:10 +0000
message:
  mml2015.el (mml2015-use): Replace string-match-p with string-match for old 
Emacsen.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/mml2015.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2011-06-30 22:20:32 +0000
+++ b/lisp/gnus/ChangeLog       2011-06-30 23:27:10 +0000
@@ -1,3 +1,8 @@
+2011-06-30  Katsumi Yamaoka  <address@hidden>
+
+       * mml2015.el (mml2015-use): Replace string-match-p with string-match
+       for old Emacsen.
+
 2011-06-30  Daiki Ueno  <address@hidden>
 
        * mml2015.el (mml2015-use): Don't try to load PGG on Emacs 24, when EPG

=== modified file 'lisp/gnus/mml2015.el'
--- a/lisp/gnus/mml2015.el      2011-06-30 20:54:35 +0000
+++ b/lisp/gnus/mml2015.el      2011-06-30 23:27:10 +0000
@@ -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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]