Browse Source

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.
Carsten Dominik 14 years ago
parent
commit
17ace08e0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-compat.el

+ 1 - 1
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)