lang/org: remove unused evil autoloads

This commit is contained in:
Henrik Lissner 2018-02-18 03:07:45 -05:00
parent 7707aec28a
commit be94fc4d91
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 0 additions and 21 deletions

View file

@ -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))

View file

@ -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'.