Ver código fonte

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.
Bastien Guerry 11 anos atrás
pai
commit
e5b84d14cd
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      lisp/org-entities.el

+ 3 - 1
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*")))