summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/use-package/use-package-core.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index acf053baf52..15ca2649e5c 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -819,7 +819,9 @@ representing symbols (that may need to be autloaded)."
;;;; :disabled
-(defalias 'use-package-normalize/:disabled 'ignore)
+;; Don't alias this to `ignore', as that will cause the resulting
+;; function to be interactive.
+(defun use-package-normalize/:disabled (name keyword arg rest state))
(defun use-package-handler/:disabled (name keyword arg rest state)
(use-package-process-keywords name rest state))