diff --git a/modules/lang/org/autoload/evil.el b/modules/lang/org/autoload/evil.el index f30805734..3b7b2498d 100644 --- a/modules/lang/org/autoload/evil.el +++ b/modules/lang/org/autoload/evil.el @@ -5,10 +5,9 @@ "Send a selection to `doom/org-capture'." :move-point nil :type inclusive (interactive "") - (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)