mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
Add bin/org-capture script
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
;;; lang/org/autoload/capture.el
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun +org-capture (&optional key string)
|
||||
"Initializes the current frame as a pop-up `org-capture' frame."
|
||||
(interactive)
|
||||
(let ((key (or key "n"))
|
||||
(string (unless (string-empty-p string) string)))
|
||||
(if string
|
||||
(org-capture-string string key)
|
||||
(org-capture nil key))))
|
||||
|
Reference in New Issue
Block a user