|
@@ -6076,8 +6076,8 @@ With a numeric prefix, show all headlines up to that level."
|
|
(interactive)
|
|
(interactive)
|
|
(let (org-show-entry-below state)
|
|
(let (org-show-entry-below state)
|
|
(save-excursion
|
|
(save-excursion
|
|
- (goto-char (point-max))
|
|
|
|
- (while (re-search-backward
|
|
|
|
|
|
+ (goto-char (point-min))
|
|
|
|
+ (while (re-search-forward
|
|
"^[ \t]*:VISIBILITY:[ \t]+\\([a-z]+\\)"
|
|
"^[ \t]*:VISIBILITY:[ \t]+\\([a-z]+\\)"
|
|
nil t)
|
|
nil t)
|
|
(setq state (match-string 1))
|
|
(setq state (match-string 1))
|