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'."
|
"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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue