Use `org-show-all' to, well, show all
Using `org-cycle' may result in hooks being run, depending on where point is. This may cause undesired and highly surprising behavior.
This commit is contained in:
parent
df2464ce5b
commit
e966edd950
|
@ -172,7 +172,7 @@ region will be traversed."
|
||||||
|
|
||||||
;; Make sure everything is visible, as otherwise editing may produce odd
|
;; Make sure everything is visible, as otherwise editing may produce odd
|
||||||
;; results
|
;; results
|
||||||
(org-cycle '(64))
|
(org-show-all)
|
||||||
|
|
||||||
(let* ((re (concat "^\\(\\*+\\)[ \t]\\|^[ \t]*"
|
(let* ((re (concat "^\\(\\*+\\)[ \t]\\|^[ \t]*"
|
||||||
org-clock-string
|
org-clock-string
|
||||||
|
|
Loading…
Reference in New Issue