summaryrefslogtreecommitdiff
path: root/lisp/play/handwrite.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
commit323f7c491fa609efb16ab53da95c591e487e6f23 (patch)
tree9fb6a401ddd014bf5e8618a9c007ce3a457286f7 /lisp/play/handwrite.el
parenta797a30d6b1555f0d778ecd8fee34c2ad8f42bc7 (diff)
downloademacs-323f7c491fa609efb16ab53da95c591e487e6f23.tar.gz
Customized.
Diffstat (limited to 'lisp/play/handwrite.el')
-rw-r--r--lisp/play/handwrite.el66
1 files changed, 45 insertions, 21 deletions
diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el
index 1a0fabfb9f9..758293acf74 100644
--- a/lisp/play/handwrite.el
+++ b/lisp/play/handwrite.el
@@ -72,6 +72,11 @@
;; Variables
+(defgroup handwrite nil
+ "Turns your emacs buffer into a handwritten document."
+ :prefix "handwrite-"
+ :group 'games)
+
(defvar handwrite-psindex 0
"The index of the PostScript buffer.")
(defvar menu-bar-handwrite-map (make-sparse-keymap "Handwrite functions."))
@@ -80,27 +85,46 @@
;; User definable variables
-(defvar handwrite-numlines 60
- "*The number of lines on a page of the PostScript output from `handwrite'.")
-(defvar handwrite-fontsize 11
- "*The size of the font for the PostScript output from `handwrite'.")
-(defvar handwrite-linespace 12
- "*The spacing for the PostScript output from `handwrite'.")
-(defvar handwrite-xstart 30
- "*X-axis translation in the PostScript output from `handwrite'.")
-(defvar handwrite-ystart 810
- "*Y-axis translation in the PostScript output from `handwrite'.")
-(defvar handwrite-pagenumbering nil
- "*If non-nil, number each page of the PostScript output from `handwrite'.")
-(defvar handwrite-10pt-numlines 65
- "*The number of lines on a page for the function `handwrite-10pt'.")
-(defvar handwrite-11pt-numlines 60
- "*The number of lines on a page for the function `handwrite-11pt'.")
-(defvar handwrite-12pt-numlines 55
- "*The number of lines on a page for the function `handwrite-12pt'.")
-(defvar handwrite-13pt-numlines 50
- "*The number of lines on a page for the function `handwrite-13pt'.")
-
+(defcustom handwrite-numlines 60
+ "*The number of lines on a page of the PostScript output from `handwrite'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-fontsize 11
+ "*The size of the font for the PostScript output from `handwrite'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-linespace 12
+ "*The spacing for the PostScript output from `handwrite'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-xstart 30
+ "*X-axis translation in the PostScript output from `handwrite'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-ystart 810
+ "*Y-axis translation in the PostScript output from `handwrite'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-pagenumbering nil
+ "*If non-nil, number each page of the PostScript output from `handwrite'."
+ :type 'boolean
+ :group 'handwrite)
+(defcustom handwrite-10pt-numlines 65
+ "*The number of lines on a page for the function `handwrite-10pt'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-11pt-numlines 60
+ "*The number of lines on a page for the function `handwrite-11pt'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-12pt-numlines 55
+ "*The number of lines on a page for the function `handwrite-12pt'."
+ :type 'integer
+ :group 'handwrite)
+(defcustom handwrite-13pt-numlines 50
+ "*The number of lines on a page for the function `handwrite-13pt'."
+ :type 'integer
+ :group 'handwrite)
;; Interactive functions