emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Emacs 22 support
@ 2010-06-01 23:10 Bernt Hansen
  2010-06-01 23:43 ` Štěpán Němec
  0 siblings, 1 reply; 12+ messages in thread
From: Bernt Hansen @ 2010-06-01 23:10 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Bernt Hansen

* contrib/lisp/org-special-blocks.el: Emacs 22 doesn't have string-match-p
---
This patch is available at git://git.norang.ca/org-mode.git emacs22

 contrib/lisp/org-special-blocks.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/lisp/org-special-blocks.el b/contrib/lisp/org-special-blocks.el
index af50b30..4a2bc3c 100644
--- a/contrib/lisp/org-special-blocks.el
+++ b/contrib/lisp/org-special-blocks.el
@@ -51,7 +51,7 @@ seen.  This is run after a few special cases are taken care of."
   (when (or htmlp latexp)
     (goto-char (point-min))
     (while (re-search-forward "^#\\+\\(begin\\|end\\)_\\(.*\\)$" nil t)
-      (unless (string-match-p org-special-blocks-ignore-regexp (match-string 2))
+      (unless (string-match org-special-blocks-ignore-regexp (match-string 2))
 	(replace-match
 	 (if (equal (downcase (match-string 1)) "begin")
 	     (concat "ORG-" (match-string 2) "-START")
-- 
1.7.1.240.g225c

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-06-04 19:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01 23:10 [PATCH] Emacs 22 support Bernt Hansen
2010-06-01 23:43 ` Štěpán Němec
2010-06-02  3:03   ` Bernt Hansen
2010-06-02 11:47     ` Bernt Hansen
2010-06-03  8:32       ` Carsten Dominik
2010-06-03 12:28         ` Bernt Hansen
2010-06-03 13:10           ` [PATCH] Emacs 22 support - use org-string-match-p Bernt Hansen
2010-06-03 22:07             ` Štěpán Němec
2010-06-03 22:09               ` Bernt Hansen
2010-06-03 22:29                 ` Štěpán Němec
2010-06-04  4:42                   ` Carsten Dominik
2010-06-04 19:03             ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).