浏览代码

Fix empty line display after property visibility

Carsten Dominik 15 年之前
父节点
当前提交
90c37b3f4a
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 2 - 0
lisp/ChangeLog

@@ -1,5 +1,7 @@
 2010-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-set-startup-visibility): Fix empty line display.
+
 	* org-latex.el (org-export-latex-links): Use the formatting
 	function of the link type, if it is available.
 

+ 1 - 1
lisp/org.el

@@ -5601,7 +5601,7 @@ With a numeric prefix, show all headlines up to that level."
     (org-set-visibility-according-to-property 'no-cleanup)
     (org-cycle-hide-archived-subtrees 'all)
     (org-cycle-hide-drawers 'all)
-    (org-cycle-show-empty-lines 'all)))
+    (org-cycle-show-empty-lines t)))
 
 (defun org-set-visibility-according-to-property (&optional no-cleanup)
   "Switch subtree visibilities according to :VISIBILITY: property."