Browse Source

Add headline for user-defined entities to `M-x org-entities-help'

* lisp/org-entities.el (org-entities-help): Add a headline for
the user-defined entities.
Carsten Dominik 14 years ago
parent
commit
eeab263cb8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lisp/org-entities.el

+ 3 - 1
lisp/org-entities.el

@@ -525,7 +525,9 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'."
   (interactive)
   (with-output-to-temp-buffer "*Org Entity Help*"
     (princ "Org-mode entities\n=================\n\n")
-    (let ((ll (append org-entities-user org-entities))
+    (let ((ll (append '("* User-defined additions (variable org-entities-user)")
+		      org-entities-user
+		      org-entities))
 	  e latex mathp html latin utf8 name ascii
 	  (lastwasstring t)
 	  (head (concat