lang/org: remove unused evil autoloads
This commit is contained in:
parent
7707aec28a
commit
be94fc4d91
2 changed files with 0 additions and 21 deletions
|
@ -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'.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue