branch: elpa/org-journal
commit cb24a8af7715b44231762eae1be55b2ef6b6b20f
Author: Kizi Fumoli <[email protected]>
Commit: Kizi Fumoli <[email protected]>
Fix bug that hid previous date entries.
This commit resolves a bug that occurred in the "monthly" journal file
setup. When in a file containing previous date's entries, running
'org-journal-new-entry would hide any entry not in the current date,
regardless of the value of 'org-journal-hide-entries-p.
---
org-journal.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-journal.el b/org-journal.el
index 4d771ab59e..8b51a36e5e 100644
--- a/org-journal.el
+++ b/org-journal.el
@@ -1381,7 +1381,7 @@ from oldest to newest."
(progn
(org-up-heading-safe)
(org-back-to-heading)
- (outline-hide-other)
+ (if org-journal-hide-entries-p (outline-hide-other))
(outline-show-subtree))
(outline-show-all)))