浏览代码

Merge branch 'maint'

Nicolas Goaziou 7 年之前
父节点
当前提交
c01b62305e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      lisp/org.el
  2. 1 1
      lisp/ox-odt.el

+ 1 - 1
lisp/org.el

@@ -8941,7 +8941,7 @@ function is being called interactively."
 	     ;; The clock marker is lost when using `sort-subr'; mark
 	     ;; the clock with temporary `:org-clock-marker-backup'
 	     ;; text property.
-	     (when (and (eq (org-clocking-buffer) (current-buffer))
+	     (when (and (eq (org-clock-is-active) (current-buffer))
 			(<= start (marker-position org-clock-marker))
 			(>= end (marker-position org-clock-marker)))
 	       (org-with-silent-modifications

+ 1 - 1
lisp/ox-odt.el

@@ -1871,7 +1871,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)))