diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-30 08:04:25 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-30 08:04:25 +0200 |
commit | 18a48b5861a6d90e020d4d0b47cb15654e85d7a7 (patch) | |
tree | 7b80912475effa7798b77c86d01aed759c49026b | |
parent | 7d18632a73dc5f0a686dc5ad7e006182763284e8 (diff) | |
download | org-mode-18a48b5861a6d90e020d4d0b47cb15654e85d7a7.tar.gz |
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>
-rw-r--r-- | lisp/ox-odt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 7555468..e6eac8c 100644 --- a/lisp/ox-odt.el +++ b/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))) |