branch: elpa/engine-mode
commit fac252e11dd38fe89d6285a12352fee0e4d31b00
Author: Harry Schwartz <he...@harryrschwartz.com>
Commit: Harry Schwartz <he...@harryrschwartz.com>

    Add documentation for redefining the keymap prefix
---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index 3cd205a4a4..8876e33ebc 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,20 @@ contains a comprehensive list of possible browsing 
functions. You can
 get to that by hitting `C-h v browser-url-browser-function <RETURN>`
 and following the link to `browse-url.el`.
 
+## Changing the keymap prefix
+
+The default keymap prefix for `engine-mode` is `C-c /`. If you'd like
+to use a different prefix (say, `C-c s`), you can redefine it:
+
+```emacs
+(setq engine/keymap-prefix (kbd "C-c s"))
+```
+
+Make sure you redefine the keymap prefix *before* you define your
+engines. `defengine` uses the prefix internally, so if you change the
+prefix after defining your engines you'll find that they still use the
+old prefix.
+
 ## Importing keyword searches from other browsers
 
 Since many browsers save keyword searches using the same format as

Reply via email to