Procházet zdrojové kódy

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 před 14 roky
rodič
revize
17ace08e0f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)