Przeglądaj źródła

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 lat temu
rodzic
commit
17ace08e0f
1 zmienionych plików z 1 dodań i 1 usunięć
  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)