From e966edd9500a5705596f6a328b98d18929cf0be4 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 10 Jan 2020 18:10:07 +0100 Subject: [PATCH] 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. --- site-lisp/timeline-tools.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/timeline-tools.el b/site-lisp/timeline-tools.el index 365bfd4..a959746 100644 --- a/site-lisp/timeline-tools.el +++ b/site-lisp/timeline-tools.el @@ -172,7 +172,7 @@ region will be traversed." ;; Make sure everything is visible, as otherwise editing may produce odd ;; results - (org-cycle '(64)) + (org-show-all) (let* ((re (concat "^\\(\\*+\\)[ \t]\\|^[ \t]*" org-clock-string