From 17ace08e0f883c176b577eec09b19012af8c2d0a Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 17 Aug 2010 06:32:55 +0200 Subject: [PATCH] Do not use looking-at-p when it does not exist * lisp/org-compat.el (org-looking-at-p): Only use looking-at-p when defined. --- lisp/org-compat.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 4fde94c8e..4383bec67 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -353,7 +353,7 @@ TIME defaults to the current time." (if (fboundp 'looking-at-p) (apply 'looking-at-p args) (save-match-data - (apply 'looking-at-p args)))) + (apply 'looking-at args)))) ; XEmacs does not have `looking-back'. (if (fboundp 'looking-back)