* 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode