summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-01-08 16:12:15 +0100
committerBastien Guerry <bzg@altern.org>2014-01-08 16:12:15 +0100
commite5b84d14cda48bb740b1df1f5eaaabe92dbbf121 (patch)
tree0e02940433e4d08cba2c8da82fcbe4f40be9ecd2
parentfc09ad3be42bb859e51ae28485e72da3ff5bc7fa (diff)
downloadorg-mode-e5b84d14cda48bb740b1df1f5eaaabe92dbbf121.tar.gz
org-entities.el: Fix display of pretty entities
* org-entities.el (org-entities-help): Prevent the display of pretty entities, as this help buffer is meant to list literal strings, not utf-8 representations. Thanks to Brice Waegenire for reporting this.
-rw-r--r--lisp/org-entities.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index 3957163..9712190 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -598,7 +598,9 @@ Kind can be any of `latex', `html', `ascii', `latin1', or `utf8'."
(princ (format " %-8s \\%-16s %-22s %-13s\n"
utf8 name latex html))))))
(with-current-buffer "*Org Entity Help*"
- (org-mode))
+ (org-mode)
+ (when org-pretty-entities
+ (org-toggle-pretty-entities)))
(select-window (get-buffer-window "*Org Entity Help*")))