Compare commits

..

7 Commits

1 changed files with 21 additions and 21 deletions

View File

@ -183,7 +183,7 @@
(use-package! org-capture-ref) (use-package! org-capture-ref)
;; HACK Fix search folded sections ;; HACK Fix search folded sections
(after! org-fold-core (after! org-fold-core
(defun org-show-current-heading-tidily () (defun org-show-current-heading-tidily ()
(interactive) ;Inteactive (interactive) ;Inteactive
"Show next entry, keeping other entries closed." "Show next entry, keeping other entries closed."
(if (save-excursion (end-of-line) (outline-invisible-p)) (if (save-excursion (end-of-line) (outline-invisible-p))
@ -199,7 +199,7 @@
(org-show-entry) (org-show-entry)
(show-children) (show-children)
(goto-line my:current_line))) (goto-line my:current_line)))
(defun qw/search-buffer () (defun qw/search-buffer ()
(interactive) (interactive)
(org-fold-show-all) (org-fold-show-all)
(+default/search-buffer) (+default/search-buffer)