diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-08-17 06:32:55 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-08-17 06:32:55 +0200 |
commit | 17ace08e0f883c176b577eec09b19012af8c2d0a (patch) | |
tree | 8099a9d40403692d81faeb4475d60374f777305a | |
parent | 1ab9b17ee8154d8b5d7794cc28b367bf6960c338 (diff) | |
download | org-mode-17ace08e0f883c176b577eec09b19012af8c2d0a.tar.gz |
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.
-rw-r--r-- | lisp/org-compat.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 4fde94c..4383bec 100644 --- a/lisp/org-compat.el +++ b/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) |