summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-bind-key.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-bind-key.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-bind-key.el')
-rw-r--r--lisp/use-package/use-package-bind-key.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/use-package/use-package-bind-key.el b/lisp/use-package/use-package-bind-key.el
index d17ecb2cf75..10b5b483d05 100644
--- a/lisp/use-package/use-package-bind-key.el
+++ b/lisp/use-package/use-package-bind-key.el
@@ -1,4 +1,4 @@
-;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords
+;;; use-package-bind-key.el --- Support for the :bind/:bind-keymap keywords -*- lexical-binding: t; -*-
;; Copyright (C) 2012-2017 John Wiegley
@@ -127,7 +127,7 @@ deferred until the prefix key sequence is pressed."
;;;###autoload
(defun use-package-handler/:bind
- (name keyword args rest state &optional bind-macro)
+ (name _keyword args rest state &optional bind-macro)
(use-package-concat
(use-package-process-keywords name rest state)
`(,@(mapcar
@@ -148,7 +148,7 @@ deferred until the prefix key sequence is pressed."
;;;###autoload
(defun use-package-handler/:bind-keymap
- (name keyword args rest state &optional override)
+ (name _keyword args rest state &optional override)
(use-package-concat
(use-package-process-keywords name rest state)
(mapcar