summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-delight.el
diff options
context:
space:
mode:
authorAlex Branham <alex.branham@gmail.com>2018-03-20 11:40:26 -0500
committerAlex Branham <alex.branham@gmail.com>2018-06-13 20:24:09 -0500
commite2e6f9a44b580c6d30c9c168cbe48000c97c5fb6 (patch)
treec0c7ad8f32c28e7a8cd6ce1b78eb3977c41fd47d /lisp/use-package/use-package-delight.el
parentcc9ec36f1a8117cc86679b4e6ad4e9c1d73045b5 (diff)
downloademacs-e2e6f9a44b580c6d30c9c168cbe48000c97c5fb6.tar.gz
emacs-e2e6f9a44b580c6d30c9c168cbe48000c97c5fb6.tar.bz2
emacs-e2e6f9a44b580c6d30c9c168cbe48000c97c5fb6.zip
Enable lexical binding
This supersedes https://github.com/jwiegley/use-package/issues/617 and closes https://github.com/jwiegley/use-package/issues/648
Diffstat (limited to 'lisp/use-package/use-package-delight.el')
-rw-r--r--lisp/use-package/use-package-delight.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/use-package/use-package-delight.el b/lisp/use-package/use-package-delight.el
index 9d4f6acf2de..85d5c7cb4d6 100644
--- a/lisp/use-package/use-package-delight.el
+++ b/lisp/use-package/use-package-delight.el
@@ -1,4 +1,4 @@
-;;; use-package-delight.el --- Support for the :delight keyword
+;;; use-package-delight.el --- Support for the :delight keyword -*- lexical-binding: t; -*-
;; Copyright (C) 2012-2017 John Wiegley
@@ -52,7 +52,7 @@
":delight expects `delight' arguments or a list of them"))))
;;;###autoload
-(defun use-package-normalize/:delight (name keyword args)
+(defun use-package-normalize/:delight (name _keyword args)
"Normalize arguments to delight."
(cond ((null args)
`((,(use-package-as-mode name) nil ,name)))
@@ -77,7 +77,7 @@
args)))))
;;;###autoload
-(defun use-package-handler/:delight (name keyword args rest state)
+(defun use-package-handler/:delight (name _keyword args rest state)
(let ((body (use-package-process-keywords name rest state)))
(use-package-concat
body