mirror of
https://github.com/org-roam/org-roam
synced 2025-08-05 12:37:23 -05:00
(feat): Hide drawer content when capturing
This commit is contained in:
@ -760,7 +760,9 @@ TEMPLATES is a list of org-roam templates."
|
|||||||
(when (and (not keys)
|
(when (and (not keys)
|
||||||
(= (length org-capture-templates) 1))
|
(= (length org-capture-templates) 1))
|
||||||
(setq keys (caar org-capture-templates)))
|
(setq keys (caar org-capture-templates)))
|
||||||
(org-capture goto keys)))
|
(org-capture goto keys)
|
||||||
|
(unless goto
|
||||||
|
(org-cycle-hide-drawers 'all))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun org-roam-capture (&optional goto keys)
|
(defun org-roam-capture (&optional goto keys)
|
||||||
|
Reference in New Issue
Block a user