summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-08-17 06:32:55 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-08-17 06:32:55 +0200
commit17ace08e0f883c176b577eec09b19012af8c2d0a (patch)
tree8099a9d40403692d81faeb4475d60374f777305a
parent1ab9b17ee8154d8b5d7794cc28b367bf6960c338 (diff)
downloadorg-mode-17ace08e0f883c176b577eec09b19012af8c2d0a.tar.gz
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.
-rw-r--r--lisp/org-compat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 4fde94c..4383bec 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)