]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix function accidentally made interactive
authorRadon Rosborough <radon.neon@gmail.com>
Tue, 5 Dec 2017 06:44:22 +0000 (22:44 -0800)
committerRadon Rosborough <radon.neon@gmail.com>
Tue, 5 Dec 2017 06:44:22 +0000 (22:44 -0800)
lisp/use-package/use-package-core.el

index acf053baf5258acf61bb70661177576433069558..15ca2649e5c999dc24967a5499352c369d1f28aa 100644 (file)
@@ -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))