mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
lang/org: remove unused evil autoloads
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
;;; lang/org/autoload/evil.el -*- lexical-binding: t; -*-
|
|
||||||
;;;###if (featurep! :feature evil)
|
|
||||||
|
|
||||||
;; TODO +org-attach:find
|
|
||||||
|
|
||||||
;;;###autoload (autoload '+org-attach:uri "lang/org/autoload/evil" nil t)
|
|
||||||
(evil-define-command +org-attach:uri (uri)
|
|
||||||
"Downloads the file at URL and places an org link to it at the cursor."
|
|
||||||
(interactive "<f>")
|
|
||||||
(+org-attach/uri uri))
|
|
||||||
|
|
@@ -1,16 +1,6 @@
|
|||||||
;;; lang/org/autoload/org-capture.el -*- lexical-binding: t; -*-
|
;;; lang/org/autoload/org-capture.el -*- lexical-binding: t; -*-
|
||||||
;;;###if (featurep! +capture)
|
;;;###if (featurep! +capture)
|
||||||
|
|
||||||
(when (featurep! :feature evil)
|
|
||||||
;;;###autoload (autoload '+org-capture:open "lang/org/autoload/org-capture" nil t)
|
|
||||||
(evil-define-operator +org-capture:open (&optional beg end)
|
|
||||||
"Evil ex interface to `+org-capture/dwim'."
|
|
||||||
:move-point nil :type inclusive
|
|
||||||
(interactive "<r>")
|
|
||||||
(+org-capture/open
|
|
||||||
(unless (or (evil-normal-state-p) (evil-insert-state-p))
|
|
||||||
(buffer-substring beg end)))))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +org-capture/open (&optional string key)
|
(defun +org-capture/open (&optional string key)
|
||||||
"Sends STRING, the current selection or prompted input to `org-capture'.
|
"Sends STRING, the current selection or prompted input to `org-capture'.
|
||||||
|
Reference in New Issue
Block a user