mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: fix +org:capture
This commit is contained in:
@ -5,10 +5,9 @@
|
|||||||
"Send a selection to `doom/org-capture'."
|
"Send a selection to `doom/org-capture'."
|
||||||
:move-point nil :type inclusive
|
:move-point nil :type inclusive
|
||||||
(interactive "<r><!>")
|
(interactive "<r><!>")
|
||||||
(doom/org-capture
|
(org-capture-string
|
||||||
(if (and (evil-visual-state-p) beg end)
|
(when (and (evil-visual-state-p) beg end)
|
||||||
(buffer-substring beg end)
|
(buffer-substring beg end))))
|
||||||
"")))
|
|
||||||
|
|
||||||
;;;###autoload (autoload '+org:attach "lang/org/autoload/evil" nil t)
|
;;;###autoload (autoload '+org:attach "lang/org/autoload/evil" nil t)
|
||||||
(evil-define-command +org:attach (&optional uri)
|
(evil-define-command +org:attach (&optional uri)
|
||||||
|
Reference in New Issue
Block a user