Browse Source

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 năm trước cách đây
mục cha
commit
d11ba3ade6
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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.")