lang/org: fix +org:capture
This commit is contained in:
parent
6c70662b3c
commit
0e4652c2fe
1 changed files with 3 additions and 4 deletions
|
@ -5,10 +5,9 @@
|
|||
"Send a selection to `doom/org-capture'."
|
||||
:move-point nil :type inclusive
|
||||
(interactive "<r><!>")
|
||||
(doom/org-capture
|
||||
(if (and (evil-visual-state-p) beg end)
|
||||
(buffer-substring beg end)
|
||||
"")))
|
||||
(org-capture-string
|
||||
(when (and (evil-visual-state-p) beg end)
|
||||
(buffer-substring beg end))))
|
||||
|
||||
;;;###autoload (autoload '+org:attach "lang/org/autoload/evil" nil t)
|
||||
(evil-define-command +org:attach (&optional uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue