Forráskód Böngészése

Fix ODT priority styling

* lisp/ox-odt.el (org-odt-format-headline-default-function): Fix style
  name for priority cookie.

Reported-by: Henry Todd <hjst@me.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00648.html>
Nicolas Goaziou 7 éve
szülő
commit
18a48b5861
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      lisp/ox-odt.el

+ 1 - 1
lisp/ox-odt.el

@@ -1870,7 +1870,7 @@ See `org-odt-format-headline-function' for details."
      (let ((style (if (eq todo-type 'done) "OrgDone" "OrgTodo")))
        (format "<text:span text:style-name=\"%s\">%s</text:span> " style todo)))
    (when priority
-     (let* ((style (format "OrgPriority-%s" priority))
+     (let* ((style (format "OrgPriority-%c" priority))
 	    (priority (format "[#%c]" priority)))
        (format "<text:span text:style-name=\"%s\">%s</text:span> "
 	       style priority)))