emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/engine-mode 5704591830 64/71: Document binding keymaps wit


From: ELPA Syncer
Subject: [nongnu] elpa/engine-mode 5704591830 64/71: Document binding keymaps with use-package
Date: Wed, 21 Dec 2022 09:59:17 -0500 (EST)

branch: elpa/engine-mode
commit 57045918301f5a96f67bd409f7683987a72272cd
Author: Harry R. Schwartz <hello@harryrschwartz.com>
Commit: Harry R. Schwartz <hello@harryrschwartz.com>

    Document binding keymaps with use-package
---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index d9091393a1..f7d80e26c4 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,12 @@ the keymap to an additional prefix (say, `C-c s`), you 
totally can:
 (engine/set-keymap-prefix (kbd "C-c s"))
 ```
 
+If you use `use-package`, you can achieve the same thing with:
+
+``` emacs
+:bind-keymap ("C-c s" . engine-mode-prefixed-map)
+```
+
 ## Custom docstrings
 
 `defengine` assigns each engine a reasonable default docstring, but you can



reply via email to

[Prev in Thread] Current Thread [Next in Thread]