djcb/sauron — Issue #4: Show keybindings in docstring
Author: phil-s
Created: 2012-01-10 23:40:59+00:00
State: open

diff --git a/sauron.el b/sauron.el
index 697509d..2c79fe8 100644
--- a/sauron.el
+++ b/sauron.el
@@ -190,7 +190,7 @@ e.g. when using ERC")

(defun sauron-mode ()
- "Major mode for the sauron."
+ "Major mode for the sauron.\n\n\\{sauron-mode-map}"
(interactive)
(kill-all-local-variables)
(use-local-map sauron-mode-map)