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:
parent
1ab9b17ee8
commit
17ace08e0f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue