summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2014-05-28 14:16:21 +0200
committerAchim Gratz <Stromeko@Stromeko.DE>2014-05-28 14:16:21 +0200
commit3a736c51bcc50d04d89197fcabd4d7b30f3f3dba (patch)
tree58ec51d48f57de663a4d350dedc988f27518baf7
parent6c1b41bd685f6b9fa5e8aca558cd3eb8c9b0cf9b (diff)
downloadorg-mode-3a736c51bcc50d04d89197fcabd4d7b30f3f3dba.tar.gz
org-entities: forward declaration of org-toggle-pretty-entities and org-pretty-entities
* lisp/org-entities.el: Remove superfluous require of org-macs. Forward declare 'org-toggle-pretty-entities' and 'org-pretty-entities'.
-rw-r--r--lisp/org-entities.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index ba1eed1..6324a62 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -27,9 +27,8 @@
;;; Code:
-(require 'org-macs)
-
-(declare-function org-table-align "org-table" ())
+(declare-function org-toggle-pretty-entities "org" ())
+(declare-function org-table-align "org-table" ())
(eval-when-compile
(require 'cl))
@@ -568,6 +567,7 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'."
(goto-char pos)
(org-table-align)))
+(defvar org-pretty-entities) ;; declare defcustom from org
(defun org-entities-help ()
"Create a Help buffer with all available entities."
(interactive)