From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [PATCH] Emacs 22 support Date: Tue, 1 Jun 2010 19:10:46 -0400 Message-ID: <1275433846-10077-1-git-send-email-bernt@norang.ca> Return-path: Received: from [140.186.70.92] (port=46152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJabn-0004Om-Cg for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 19:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJabl-0002CV-M6 for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 19:10:55 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:57031) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJabl-0002CI-KK for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 19:10:53 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1OJabk-000IIK-Py for emacs-orgmode@gnu.org; Tue, 01 Jun 2010 23:10:52 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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