aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/use-package/use-package-tests.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/lisp/use-package/use-package-tests.el b/test/lisp/use-package/use-package-tests.el
index 5ba6db8a4b5..5aab6bb1170 100644
--- a/test/lisp/use-package/use-package-tests.el
+++ b/test/lisp/use-package/use-package-tests.el
@@ -1769,6 +1769,21 @@
1769 t)) 1769 t))
1770 (bind-keys :package helm ("C-c d" . helm-mini))))) 1770 (bind-keys :package helm ("C-c d" . helm-mini)))))
1771 1771
1772(ert-deftest use-package-test/585 ()
1773 (match-expansion
1774 (use-package bug
1775 :bind (:map bug-map ("C-a" . alpha))
1776 :bind (("C-b" . beta)))
1777 `(progn
1778 (unless (fboundp 'alpha)
1779 (autoload #'alpha "bug" nil t))
1780 (unless (fboundp 'beta)
1781 (autoload #'beta "bug" nil t))
1782 (bind-keys :package bug :map bug-map
1783 ("C-a" . alpha))
1784 (bind-keys :package bug
1785 ("C-b" . beta)))))
1786
1772(ert-deftest bind-key/:prefix-map () 1787(ert-deftest bind-key/:prefix-map ()
1773 (match-expansion 1788 (match-expansion
1774 (bind-keys :prefix "<f1>" 1789 (bind-keys :prefix "<f1>"