Hi, Sometimes, I want to unfold all the drawers using `org-fold-show-all', and then I want to hide them all back. I've noticed, there is a function `org-fold-hide-drawer-all' does just that, but it's not marked as a command, so the patch is as simple as adding `(interactive)` there, as I don't see a reason it shouldn't be one.
-- Ivan
From b059c1def1df57921b08b5a350f8b67148dfbc67 Mon Sep 17 00:00:00 2001 From: Ivan Necas <neca...@gmail.com> Date: Wed, 18 Oct 2023 14:51:33 +0200 Subject: [PATCH] * lisp/org-fold.el (org-fold-hide-drawer-all): Make interactive TINYCHANGE --- lisp/org-fold.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-fold.el b/lisp/org-fold.el index 18ccbf0bb..67a2a25a6 100644 --- a/lisp/org-fold.el +++ b/lisp/org-fold.el @@ -594,6 +594,7 @@ (defun org-fold-hide-block-all () (org-block-map (apply-partially #'org-fold-hide-block-toggle 'hide))) (defun org-fold-hide-drawer-all () + (interactive) "Fold all drawers in the current buffer." (let ((begin (point-min)) (end (point-max))) -- 2.41.0