projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d33b2
)
Add a bind-key test
author
John Wiegley
<johnw@newartisans.com>
Mon, 4 Dec 2017 23:43:10 +0000
(15:43 -0800)
committer
John Wiegley
<johnw@newartisans.com>
Mon, 4 Dec 2017 23:43:10 +0000
(15:43 -0800)
test/lisp/use-package/use-package-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/use-package/use-package-tests.el
b/test/lisp/use-package/use-package-tests.el
index 51a57edb7d22c6a160fefa608ce77bd606217e48..76e0be5105b970d7b2f894983ac48b026edc93da 100644
(file)
--- a/
test/lisp/use-package/use-package-tests.el
+++ b/
test/lisp/use-package/use-package-tests.el
@@
-1469,6
+1469,15
@@
(ignore
(bind-keys :package mu4e ("<f9>" . mu4e))))))
+(ert-deftest bind-key/:prefix-map ()
+ (match-expansion
+ (bind-keys :prefix "<f1>"
+ :prefix-map my/map)
+ `(progn
+ (defvar my/map)
+ (define-prefix-command 'my/map)
+ (bind-key "<f1>" 'my/map nil nil))))
+
;; Local Variables:
;; indent-tabs-mode: nil
;; no-byte-compile: t