branch: elpa/guru-mode
commit 051e41827f577efebbd5cb2f639f0160eaa1a90c
Author: Bozhidar Batsov <bozhi...@batsov.com>
Commit: Bozhidar Batsov <bozhi...@batsov.com>

    Make guru-warn-only a defcustom
---
 guru-mode.el | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/guru-mode.el b/guru-mode.el
index f7bf9a8..3553068 100644
--- a/guru-mode.el
+++ b/guru-mode.el
@@ -32,11 +32,19 @@
 ;;
 ;;; Code:
 
+(defgroup guru nil
+  "Learn essential Emacs keybindings with the help of a guru."
+  :group 'tools
+  :group 'convenience)
+
 (defvar guru-mode-map (make-sparse-keymap)
   "Guru mode's keymap.")
 
-(defvar guru-warn-only nil
-  "When non-nil you'll only get an error message.")
+(defcustom guru-warn-only nil
+  "When non-nil you'll only get an error message."
+  :group 'guru
+  :type 'boolean
+  :package-version '(guru . "0.2.0"))
 
 (defvar guru-affected-bindings-list
   '(("<left>" "C-b" left-char)

Reply via email to