From be94fc4d910a2d19ea3bacdc081db9763c2543e2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 18 Feb 2018 03:07:45 -0500 Subject: [PATCH] lang/org: remove unused evil autoloads --- modules/lang/org/autoload/evil.el | 11 ----------- modules/lang/org/autoload/org-capture.el | 10 ---------- 2 files changed, 21 deletions(-) delete mode 100644 modules/lang/org/autoload/evil.el diff --git a/modules/lang/org/autoload/evil.el b/modules/lang/org/autoload/evil.el deleted file mode 100644 index 62bfca831..000000000 --- a/modules/lang/org/autoload/evil.el +++ /dev/null @@ -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 "") - (+org-attach/uri uri)) - diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index 518bc033e..3cec07ba5 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -1,16 +1,6 @@ ;;; lang/org/autoload/org-capture.el -*- lexical-binding: t; -*- ;;;###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 "") - (+org-capture/open - (unless (or (evil-normal-state-p) (evil-insert-state-p)) - (buffer-substring beg end))))) - ;;;###autoload (defun +org-capture/open (&optional string key) "Sends STRING, the current selection or prompted input to `org-capture'.