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.
This commit is contained in:
Carsten Dominik 2010-08-17 06:32:55 +02:00
parent 1ab9b17ee8
commit 17ace08e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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)