summaryrefslogtreecommitdiff
path: root/lisp/play/bruce.el
diff options
context:
space:
mode:
authorStephen Eglen <stephen@gnu.org>1998-04-05 16:14:58 +0000
committerStephen Eglen <stephen@gnu.org>1998-04-05 16:14:58 +0000
commita5510e74ea8d7847656bc141ad4acdf697f5f0a4 (patch)
tree0354fe395a605926c46cf825cb455f4484986ac5 /lisp/play/bruce.el
parent445c51bfbd77c48ed5738929e9e23a4c4d58a684 (diff)
downloademacs-a5510e74ea8d7847656bc141ad4acdf697f5f0a4.tar.gz
Customized.
Diffstat (limited to 'lisp/play/bruce.el')
-rw-r--r--lisp/play/bruce.el19
1 files changed, 14 insertions, 5 deletions
diff --git a/lisp/play/bruce.el b/lisp/play/bruce.el
index 46fa59bdec9..d54a49981c0 100644
--- a/lisp/play/bruce.el
+++ b/lisp/play/bruce.el
@@ -106,11 +106,20 @@
(require 'cookie1)
; Variables
-(defvar bruce-phrases-file "~/bruce.lines"
- "Keep your favorite phrases here.")
-
-(defvar bruce-phrase-default-count 15
- "Default number of phrases to insert")
+(defgroup bruce nil
+ "Insert phrases selected at random from a file into a buffer."
+ :prefix "bruce-"
+ :group 'games)
+
+(defcustom bruce-phrases-file "~/bruce.lines"
+ "Keep your favorite phrases here."
+ :type 'file
+ :group 'bruce)
+
+(defcustom bruce-phrase-default-count 15
+ "Default number of phrases to insert."
+ :type 'integer
+ :group 'bruce)
;;;###autoload
(defun bruce ()