浏览代码

Turn off message logging of displayed outline path

* lisp/org.el (org-display-outline-path): Do not log outline path in
Message buffer.
Carsten Dominik 11 年之前
父节点
当前提交
d11ba3ade6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

@@ -11436,7 +11436,8 @@ If JUST-RETURN-STRING is non-nil, return a string, don't display a message."
 	   separator))
     (if just-return-string
 	(org-no-properties res)
-      (message "%s" res))))
+      (let ((message-log-max nil))
+	(message "%s" res)))))
 
 (defvar org-refile-history nil
   "History for refiling operations.")