diff options
| author | Glenn Morris | 2009-09-04 07:00:22 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-04 07:00:22 +0000 |
| commit | 67d110f1a902687a2225575fb3927924b2a511a7 (patch) | |
| tree | 54b53af6905a4a61006d554c43e80bbd49afa486 | |
| parent | 491cf34081a076edf5af16a8391525c6bb0d5887 (diff) | |
| download | emacs-67d110f1a902687a2225575fb3927924b2a511a7.tar.gz emacs-67d110f1a902687a2225575fb3927924b2a511a7.zip | |
Remove leading * from defcustom and defface docs.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/play/5x5.el | 16 | ||||
| -rw-r--r-- | lisp/play/decipher.el | 8 | ||||
| -rw-r--r-- | lisp/play/gametree.el | 22 | ||||
| -rw-r--r-- | lisp/play/handwrite.el | 24 | ||||
| -rw-r--r-- | lisp/play/landmark.el | 8 | ||||
| -rw-r--r-- | lisp/play/mpuz.el | 14 | ||||
| -rw-r--r-- | lisp/play/pong.el | 34 | ||||
| -rw-r--r-- | lisp/play/solitaire.el | 6 | ||||
| -rw-r--r-- | lisp/play/tetris.el | 12 |
10 files changed, 77 insertions, 72 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 64af8363417..77bd47f3f30 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -10,6 +10,11 @@ | |||
| 10 | 10 | ||
| 11 | 2009-09-04 Glenn Morris <rgm@gnu.org> | 11 | 2009-09-04 Glenn Morris <rgm@gnu.org> |
| 12 | 12 | ||
| 13 | * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el: | ||
| 14 | * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el: | ||
| 15 | * play/solitaire.el, play/tetris.el: | ||
| 16 | Remove leading * from defcustom and defface docs. | ||
| 17 | |||
| 13 | * calendar/diary-lib.el (diary-fancy-display): Only switch modes if | 18 | * calendar/diary-lib.el (diary-fancy-display): Only switch modes if |
| 14 | necessary. | 19 | necessary. |
| 15 | (diary-fancy-overriding-map): New variable. | 20 | (diary-fancy-overriding-map): New variable. |
diff --git a/lisp/play/5x5.el b/lisp/play/5x5.el index f04bc94b113..73edc965460 100644 --- a/lisp/play/5x5.el +++ b/lisp/play/5x5.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; 5x5.el --- simple little puzzle game | 1 | ;;; 5x5.el --- simple little puzzle game |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Dave Pearson <davep@davep.org> | 6 | ;; Author: Dave Pearson <davep@davep.org> |
| 7 | ;; Maintainer: Dave Pearson <davep@davep.org> | 7 | ;; Maintainer: Dave Pearson <davep@davep.org> |
| @@ -59,32 +59,32 @@ | |||
| 59 | :prefix "5x5-") | 59 | :prefix "5x5-") |
| 60 | 60 | ||
| 61 | (defcustom 5x5-grid-size 5 | 61 | (defcustom 5x5-grid-size 5 |
| 62 | "*Size of the playing area." | 62 | "Size of the playing area." |
| 63 | :type 'integer | 63 | :type 'integer |
| 64 | :group '5x5) | 64 | :group '5x5) |
| 65 | 65 | ||
| 66 | (defcustom 5x5-x-scale 4 | 66 | (defcustom 5x5-x-scale 4 |
| 67 | "*X scaling factor for drawing the grid." | 67 | "X scaling factor for drawing the grid." |
| 68 | :type 'integer | 68 | :type 'integer |
| 69 | :group '5x5) | 69 | :group '5x5) |
| 70 | 70 | ||
| 71 | (defcustom 5x5-y-scale 3 | 71 | (defcustom 5x5-y-scale 3 |
| 72 | "*Y scaling factor for drawing the grid." | 72 | "Y scaling factor for drawing the grid." |
| 73 | :type 'integer | 73 | :type 'integer |
| 74 | :group '5x5) | 74 | :group '5x5) |
| 75 | 75 | ||
| 76 | (defcustom 5x5-animate-delay .01 | 76 | (defcustom 5x5-animate-delay .01 |
| 77 | "*Delay in seconds when animating a solution crack." | 77 | "Delay in seconds when animating a solution crack." |
| 78 | :type 'number | 78 | :type 'number |
| 79 | :group '5x5) | 79 | :group '5x5) |
| 80 | 80 | ||
| 81 | (defcustom 5x5-hassle-me t | 81 | (defcustom 5x5-hassle-me t |
| 82 | "*Should 5x5 ask you when you want to do a destructive operation?" | 82 | "Should 5x5 ask you when you want to do a destructive operation?" |
| 83 | :type 'boolean | 83 | :type 'boolean |
| 84 | :group '5x5) | 84 | :group '5x5) |
| 85 | 85 | ||
| 86 | (defcustom 5x5-mode-hook nil | 86 | (defcustom 5x5-mode-hook nil |
| 87 | "*Hook run on starting 5x5." | 87 | "Hook run on starting 5x5." |
| 88 | :type 'hook | 88 | :type 'hook |
| 89 | :group '5x5) | 89 | :group '5x5) |
| 90 | 90 | ||
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index e3dcef93a91..d32e1aad413 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; decipher.el --- cryptanalyze monoalphabetic substitution ciphers | 1 | ;;; decipher.el --- cryptanalyze monoalphabetic substitution ciphers |
| 2 | ;; | 2 | ;; |
| 3 | ;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1995, 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2008, 2009 Free Software Foundation, Inc. |
| 5 | ;; | 5 | ;; |
| 6 | ;; Author: Christopher J. Madsen <chris_madsen@geocities.com> | 6 | ;; Author: Christopher J. Madsen <chris_madsen@geocities.com> |
| 7 | ;; Keywords: games | 7 | ;; Keywords: games |
| @@ -98,7 +98,7 @@ | |||
| 98 | :group 'games) | 98 | :group 'games) |
| 99 | 99 | ||
| 100 | (defcustom decipher-force-uppercase t | 100 | (defcustom decipher-force-uppercase t |
| 101 | "*Non-nil means to convert ciphertext to uppercase. | 101 | "Non-nil means to convert ciphertext to uppercase. |
| 102 | nil means the case of the ciphertext is preserved. | 102 | nil means the case of the ciphertext is preserved. |
| 103 | This variable must be set before typing `\\[decipher]'." | 103 | This variable must be set before typing `\\[decipher]'." |
| 104 | :type 'boolean | 104 | :type 'boolean |
| @@ -106,7 +106,7 @@ This variable must be set before typing `\\[decipher]'." | |||
| 106 | 106 | ||
| 107 | 107 | ||
| 108 | (defcustom decipher-ignore-spaces nil | 108 | (defcustom decipher-ignore-spaces nil |
| 109 | "*Non-nil means to ignore spaces and punctuation when counting digrams. | 109 | "Non-nil means to ignore spaces and punctuation when counting digrams. |
| 110 | You should set this to nil if the cipher message is divided into words, | 110 | You should set this to nil if the cipher message is divided into words, |
| 111 | or t if it is not. | 111 | or t if it is not. |
| 112 | This variable is buffer-local." | 112 | This variable is buffer-local." |
diff --git a/lisp/play/gametree.el b/lisp/play/gametree.el index 4c4836747bc..fedaaf5b929 100644 --- a/lisp/play/gametree.el +++ b/lisp/play/gametree.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; gametree.el --- manage game analysis trees in Emacs | 1 | ;;; gametree.el --- manage game analysis trees in Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1997, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Ian T Zimmerman <itz@rahul.net> | 6 | ;; Author: Ian T Zimmerman <itz@rahul.net> |
| 7 | ;; Created: Wed Dec 10 07:41:46 PST 1997 | 7 | ;; Created: Wed Dec 10 07:41:46 PST 1997 |
| @@ -92,7 +92,7 @@ | |||
| 92 | :version "20.3") | 92 | :version "20.3") |
| 93 | 93 | ||
| 94 | (defcustom gametree-half-ply-regexp (regexp-quote ":") | 94 | (defcustom gametree-half-ply-regexp (regexp-quote ":") |
| 95 | "*Matches ends of numbers of moves by the \"second\" player. | 95 | "Matches ends of numbers of moves by the \"second\" player. |
| 96 | For instance, it is an almost universal convention in chess to postfix | 96 | For instance, it is an almost universal convention in chess to postfix |
| 97 | numbers of moves by Black (if considered in isolation) by the ellipsis | 97 | numbers of moves by Black (if considered in isolation) by the ellipsis |
| 98 | \"...\". This is NOT a good choice for this program, though, because it | 98 | \"...\". This is NOT a good choice for this program, though, because it |
| @@ -103,20 +103,20 @@ LaTeX macros he uses for typesetting annotated games." | |||
| 103 | :group 'gametree) | 103 | :group 'gametree) |
| 104 | 104 | ||
| 105 | (defcustom gametree-full-ply-regexp (regexp-quote ".") | 105 | (defcustom gametree-full-ply-regexp (regexp-quote ".") |
| 106 | "*Matches ends of numbers of moves by the \"first\" player. | 106 | "Matches ends of numbers of moves by the \"first\" player. |
| 107 | For instance, it is an almost universal convention in chess to postfix | 107 | For instance, it is an almost universal convention in chess to postfix |
| 108 | numbers of moves by White (if considered in isolation) by the dot \".\"." | 108 | numbers of moves by White (if considered in isolation) by the dot \".\"." |
| 109 | :type 'regexp | 109 | :type 'regexp |
| 110 | :group 'gametree) | 110 | :group 'gametree) |
| 111 | 111 | ||
| 112 | (defcustom gametree-half-ply-format "%d:" | 112 | (defcustom gametree-half-ply-format "%d:" |
| 113 | "*Output format for move numbers of moves by the \"second\" player. | 113 | "Output format for move numbers of moves by the \"second\" player. |
| 114 | Has to contain \"%d\" to output the actual number." | 114 | Has to contain \"%d\" to output the actual number." |
| 115 | :type 'string | 115 | :type 'string |
| 116 | :group 'gametree) | 116 | :group 'gametree) |
| 117 | 117 | ||
| 118 | (defcustom gametree-full-ply-format "%d." | 118 | (defcustom gametree-full-ply-format "%d." |
| 119 | "*Output format for move numbers of moves by the \"first\" player. | 119 | "Output format for move numbers of moves by the \"first\" player. |
| 120 | Has to contain \"%d\" to output the actual number." | 120 | Has to contain \"%d\" to output the actual number." |
| 121 | :type 'string | 121 | :type 'string |
| 122 | :group 'gametree) | 122 | :group 'gametree) |
| @@ -138,17 +138,17 @@ the file is visited (subject to the usual restriction via | |||
| 138 | `enable-local-variables'), and the layout will be set accordingly.") | 138 | `enable-local-variables'), and the layout will be set accordingly.") |
| 139 | 139 | ||
| 140 | (defcustom gametree-score-opener "{score=" | 140 | (defcustom gametree-score-opener "{score=" |
| 141 | "*The string which opens a score tag, and precedes the actual score." | 141 | "The string which opens a score tag, and precedes the actual score." |
| 142 | :type 'string | 142 | :type 'string |
| 143 | :group 'gametree) | 143 | :group 'gametree) |
| 144 | 144 | ||
| 145 | (defcustom gametree-score-manual-flag "!" | 145 | (defcustom gametree-score-manual-flag "!" |
| 146 | "*String marking the line as manually (as opposed to automatically) scored." | 146 | "String marking the line as manually (as opposed to automatically) scored." |
| 147 | :type 'string | 147 | :type 'string |
| 148 | :group 'gametree) | 148 | :group 'gametree) |
| 149 | 149 | ||
| 150 | (defcustom gametree-score-closer "}" | 150 | (defcustom gametree-score-closer "}" |
| 151 | "*The string which closes a score tag, and follows the actual score." | 151 | "The string which closes a score tag, and follows the actual score." |
| 152 | :type 'string | 152 | :type 'string |
| 153 | :group 'gametree) | 153 | :group 'gametree) |
| 154 | 154 | ||
| @@ -160,7 +160,7 @@ the file is visited (subject to the usual restriction via | |||
| 160 | "[ ]*\\)?\\([-+]?[0-9]+\\)" | 160 | "[ ]*\\)?\\([-+]?[0-9]+\\)" |
| 161 | (regexp-quote gametree-score-closer) | 161 | (regexp-quote gametree-score-closer) |
| 162 | "[ ]*\\)[\n\^M]") | 162 | "[ ]*\\)[\n\^M]") |
| 163 | "*Regular expression matching lines that guide the program in scoring. | 163 | "Regular expression matching lines that guide the program in scoring. |
| 164 | Its third parenthetical group should match the actual score. Its | 164 | Its third parenthetical group should match the actual score. Its |
| 165 | first parenthetical group should match the entire score tag. Its | 165 | first parenthetical group should match the entire score tag. Its |
| 166 | second parenthetical group should be an optional flag that marks the | 166 | second parenthetical group should be an optional flag that marks the |
| @@ -172,7 +172,7 @@ score instead." | |||
| 172 | :group 'gametree) | 172 | :group 'gametree) |
| 173 | 173 | ||
| 174 | (defcustom gametree-default-score 0 | 174 | (defcustom gametree-default-score 0 |
| 175 | "*Score to assume for branches lacking score tags." | 175 | "Score to assume for branches lacking score tags." |
| 176 | :type 'integer | 176 | :type 'integer |
| 177 | :group 'gametree) | 177 | :group 'gametree) |
| 178 | 178 | ||
diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el index 5021cf94211..b9461851136 100644 --- a/lisp/play/handwrite.el +++ b/lisp/play/handwrite.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; handwrite.el --- turns your emacs buffer into a handwritten document -*- coding: iso-latin-1; -*- | 1 | ;;; handwrite.el --- turns your emacs buffer into a handwritten document -*- coding: iso-latin-1; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, | 3 | ;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Danny Roozendaal (was: <danny@tvs.kun.nl>) | 6 | ;; Author: Danny Roozendaal (was: <danny@tvs.kun.nl>) |
| 7 | ;; Created: October 21 1996 | 7 | ;; Created: October 21 1996 |
| @@ -88,43 +88,43 @@ | |||
| 88 | ;; User definable variables | 88 | ;; User definable variables |
| 89 | 89 | ||
| 90 | (defcustom handwrite-numlines 60 | 90 | (defcustom handwrite-numlines 60 |
| 91 | "*The number of lines on a page of the PostScript output from `handwrite'." | 91 | "The number of lines on a page of the PostScript output from `handwrite'." |
| 92 | :type 'integer | 92 | :type 'integer |
| 93 | :group 'handwrite) | 93 | :group 'handwrite) |
| 94 | (defcustom handwrite-fontsize 11 | 94 | (defcustom handwrite-fontsize 11 |
| 95 | "*The size of the font for the PostScript output from `handwrite'." | 95 | "The size of the font for the PostScript output from `handwrite'." |
| 96 | :type 'integer | 96 | :type 'integer |
| 97 | :group 'handwrite) | 97 | :group 'handwrite) |
| 98 | (defcustom handwrite-linespace 12 | 98 | (defcustom handwrite-linespace 12 |
| 99 | "*The spacing for the PostScript output from `handwrite'." | 99 | "The spacing for the PostScript output from `handwrite'." |
| 100 | :type 'integer | 100 | :type 'integer |
| 101 | :group 'handwrite) | 101 | :group 'handwrite) |
| 102 | (defcustom handwrite-xstart 30 | 102 | (defcustom handwrite-xstart 30 |
| 103 | "*X-axis translation in the PostScript output from `handwrite'." | 103 | "X-axis translation in the PostScript output from `handwrite'." |
| 104 | :type 'integer | 104 | :type 'integer |
| 105 | :group 'handwrite) | 105 | :group 'handwrite) |
| 106 | (defcustom handwrite-ystart 810 | 106 | (defcustom handwrite-ystart 810 |
| 107 | "*Y-axis translation in the PostScript output from `handwrite'." | 107 | "Y-axis translation in the PostScript output from `handwrite'." |
| 108 | :type 'integer | 108 | :type 'integer |
| 109 | :group 'handwrite) | 109 | :group 'handwrite) |
| 110 | (defcustom handwrite-pagenumbering nil | 110 | (defcustom handwrite-pagenumbering nil |
| 111 | "*If non-nil, number each page of the PostScript output from `handwrite'." | 111 | "If non-nil, number each page of the PostScript output from `handwrite'." |
| 112 | :type 'boolean | 112 | :type 'boolean |
| 113 | :group 'handwrite) | 113 | :group 'handwrite) |
| 114 | (defcustom handwrite-10pt-numlines 65 | 114 | (defcustom handwrite-10pt-numlines 65 |
| 115 | "*The number of lines on a page for the function `handwrite-10pt'." | 115 | "The number of lines on a page for the function `handwrite-10pt'." |
| 116 | :type 'integer | 116 | :type 'integer |
| 117 | :group 'handwrite) | 117 | :group 'handwrite) |
| 118 | (defcustom handwrite-11pt-numlines 60 | 118 | (defcustom handwrite-11pt-numlines 60 |
| 119 | "*The number of lines on a page for the function `handwrite-11pt'." | 119 | "The number of lines on a page for the function `handwrite-11pt'." |
| 120 | :type 'integer | 120 | :type 'integer |
| 121 | :group 'handwrite) | 121 | :group 'handwrite) |
| 122 | (defcustom handwrite-12pt-numlines 55 | 122 | (defcustom handwrite-12pt-numlines 55 |
| 123 | "*The number of lines on a page for the function `handwrite-12pt'." | 123 | "The number of lines on a page for the function `handwrite-12pt'." |
| 124 | :type 'integer | 124 | :type 'integer |
| 125 | :group 'handwrite) | 125 | :group 'handwrite) |
| 126 | (defcustom handwrite-13pt-numlines 50 | 126 | (defcustom handwrite-13pt-numlines 50 |
| 127 | "*The number of lines on a page for the function `handwrite-13pt'." | 127 | "The number of lines on a page for the function `handwrite-13pt'." |
| 128 | :type 'integer | 128 | :type 'integer |
| 129 | :group 'handwrite) | 129 | :group 'handwrite) |
| 130 | 130 | ||
diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index 41584eb3acd..5e8df5d4a6b 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; landmark.el --- neural-network robot that learns landmarks | 1 | ;;; landmark.el --- neural-network robot that learns landmarks |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2007, 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Terrence Brannon (was: <brannon@rana.usc.edu>) | 6 | ;; Author: Terrence Brannon (was: <brannon@rana.usc.edu>) |
| 7 | ;; Created: December 16, 1996 - first release to usenet | 7 | ;; Created: December 16, 1996 - first release to usenet |
| @@ -211,13 +211,13 @@ | |||
| 211 | 211 | ||
| 212 | (defface lm-font-lock-face-O '((((class color)) :foreground "red") | 212 | (defface lm-font-lock-face-O '((((class color)) :foreground "red") |
| 213 | (t :weight bold)) | 213 | (t :weight bold)) |
| 214 | "*Face to use for Emacs' O." | 214 | "Face to use for Emacs' O." |
| 215 | :version "22.1" | 215 | :version "22.1" |
| 216 | :group 'lm) | 216 | :group 'lm) |
| 217 | 217 | ||
| 218 | (defface lm-font-lock-face-X '((((class color)) :foreground "green") | 218 | (defface lm-font-lock-face-X '((((class color)) :foreground "green") |
| 219 | (t :weight bold)) | 219 | (t :weight bold)) |
| 220 | "*Face to use for your X." | 220 | "Face to use for your X." |
| 221 | :version "22.1" | 221 | :version "22.1" |
| 222 | :group 'lm) | 222 | :group 'lm) |
| 223 | 223 | ||
diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index 7e8222d7e1d..2b1d1e4d8b5 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | (random t) ; randomize | 39 | (random t) ; randomize |
| 40 | 40 | ||
| 41 | (defcustom mpuz-silent 'error | 41 | (defcustom mpuz-silent 'error |
| 42 | "*Set this to nil if you want dings on inputs. | 42 | "Set this to nil if you want dings on inputs. |
| 43 | t means never ding, and `error' means only ding on wrong input." | 43 | t means never ding, and `error' means only ding on wrong input." |
| 44 | :type '(choice (const :tag "No" nil) | 44 | :type '(choice (const :tag "No" nil) |
| 45 | (const :tag "Yes" t) | 45 | (const :tag "Yes" t) |
| @@ -47,36 +47,36 @@ t means never ding, and `error' means only ding on wrong input." | |||
| 47 | :group 'mpuz) | 47 | :group 'mpuz) |
| 48 | 48 | ||
| 49 | (defcustom mpuz-solve-when-trivial t | 49 | (defcustom mpuz-solve-when-trivial t |
| 50 | "*Solve any row that can be trivially calculated from what you've found." | 50 | "Solve any row that can be trivially calculated from what you've found." |
| 51 | :type 'boolean | 51 | :type 'boolean |
| 52 | :group 'mpuz) | 52 | :group 'mpuz) |
| 53 | 53 | ||
| 54 | (defcustom mpuz-allow-double-multiplicator nil | 54 | (defcustom mpuz-allow-double-multiplicator nil |
| 55 | "*Allow 2nd factors like 33 or 77." | 55 | "Allow 2nd factors like 33 or 77." |
| 56 | :type 'boolean | 56 | :type 'boolean |
| 57 | :group 'mpuz) | 57 | :group 'mpuz) |
| 58 | 58 | ||
| 59 | (defface mpuz-unsolved | 59 | (defface mpuz-unsolved |
| 60 | '((((class color)) (:foreground "red1" :bold t)) | 60 | '((((class color)) (:foreground "red1" :bold t)) |
| 61 | (t (:bold t))) | 61 | (t (:bold t))) |
| 62 | "*Face to use for letters to be solved." | 62 | "Face to use for letters to be solved." |
| 63 | :group 'mpuz) | 63 | :group 'mpuz) |
| 64 | 64 | ||
| 65 | (defface mpuz-solved | 65 | (defface mpuz-solved |
| 66 | '((((class color)) (:foreground "green1" :bold t)) | 66 | '((((class color)) (:foreground "green1" :bold t)) |
| 67 | (t (:bold t))) | 67 | (t (:bold t))) |
| 68 | "*Face to use for solved digits." | 68 | "Face to use for solved digits." |
| 69 | :group 'mpuz) | 69 | :group 'mpuz) |
| 70 | 70 | ||
| 71 | (defface mpuz-trivial | 71 | (defface mpuz-trivial |
| 72 | '((((class color)) (:foreground "blue" :bold t)) | 72 | '((((class color)) (:foreground "blue" :bold t)) |
| 73 | (t (:bold t))) | 73 | (t (:bold t))) |
| 74 | "*Face to use for trivial digits solved for you." | 74 | "Face to use for trivial digits solved for you." |
| 75 | :group 'mpuz) | 75 | :group 'mpuz) |
| 76 | 76 | ||
| 77 | (defface mpuz-text | 77 | (defface mpuz-text |
| 78 | '((t (:inherit variable-pitch))) | 78 | '((t (:inherit variable-pitch))) |
| 79 | "*Face to use for text on right." | 79 | "Face to use for text on right." |
| 80 | :group 'mpuz) | 80 | :group 'mpuz) |
| 81 | 81 | ||
| 82 | 82 | ||
diff --git a/lisp/play/pong.el b/lisp/play/pong.el index 8835ff9c959..2ada2a08518 100644 --- a/lisp/play/pong.el +++ b/lisp/play/pong.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; pong.el --- classical implementation of pong | 1 | ;;; pong.el --- classical implementation of pong |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2008, 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Benjamin Drieu <bdrieu@april.org> | 6 | ;; Author: Benjamin Drieu <bdrieu@april.org> |
| 7 | ;; Keywords: games | 7 | ;; Keywords: games |
| @@ -39,67 +39,67 @@ | |||
| 39 | :group 'games) | 39 | :group 'games) |
| 40 | 40 | ||
| 41 | (defcustom pong-buffer-name "*Pong*" | 41 | (defcustom pong-buffer-name "*Pong*" |
| 42 | "*Name of the buffer used to play." | 42 | "Name of the buffer used to play." |
| 43 | :group 'pong | 43 | :group 'pong |
| 44 | :type '(string)) | 44 | :type '(string)) |
| 45 | 45 | ||
| 46 | (defcustom pong-width 50 | 46 | (defcustom pong-width 50 |
| 47 | "*Width of the playfield." | 47 | "Width of the playfield." |
| 48 | :group 'pong | 48 | :group 'pong |
| 49 | :type '(integer)) | 49 | :type '(integer)) |
| 50 | 50 | ||
| 51 | (defcustom pong-height (min 30 (- (frame-height) 6)) | 51 | (defcustom pong-height (min 30 (- (frame-height) 6)) |
| 52 | "*Height of the playfield." | 52 | "Height of the playfield." |
| 53 | :group 'pong | 53 | :group 'pong |
| 54 | :type '(integer)) | 54 | :type '(integer)) |
| 55 | 55 | ||
| 56 | (defcustom pong-bat-width 3 | 56 | (defcustom pong-bat-width 3 |
| 57 | "*Width of the bats for pong." | 57 | "Width of the bats for pong." |
| 58 | :group 'pong | 58 | :group 'pong |
| 59 | :type '(integer)) | 59 | :type '(integer)) |
| 60 | 60 | ||
| 61 | (defcustom pong-blank-color "black" | 61 | (defcustom pong-blank-color "black" |
| 62 | "*Color used for background." | 62 | "Color used for background." |
| 63 | :group 'pong | 63 | :group 'pong |
| 64 | :type 'color) | 64 | :type 'color) |
| 65 | 65 | ||
| 66 | (defcustom pong-bat-color "yellow" | 66 | (defcustom pong-bat-color "yellow" |
| 67 | "*Color used for bats." | 67 | "Color used for bats." |
| 68 | :group 'pong | 68 | :group 'pong |
| 69 | :type 'color) | 69 | :type 'color) |
| 70 | 70 | ||
| 71 | (defcustom pong-ball-color "red" | 71 | (defcustom pong-ball-color "red" |
| 72 | "*Color used for the ball." | 72 | "Color used for the ball." |
| 73 | :group 'pong | 73 | :group 'pong |
| 74 | :type 'color) | 74 | :type 'color) |
| 75 | 75 | ||
| 76 | (defcustom pong-border-color "white" | 76 | (defcustom pong-border-color "white" |
| 77 | "*Color used for pong borders." | 77 | "Color used for pong borders." |
| 78 | :group 'pong | 78 | :group 'pong |
| 79 | :type 'color) | 79 | :type 'color) |
| 80 | 80 | ||
| 81 | (defcustom pong-left-key "4" | 81 | (defcustom pong-left-key "4" |
| 82 | "*Alternate key to press for bat 1 to go up (primary one is [left])." | 82 | "Alternate key to press for bat 1 to go up (primary one is [left])." |
| 83 | :group 'pong | 83 | :group 'pong |
| 84 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 84 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 85 | 85 | ||
| 86 | (defcustom pong-right-key "6" | 86 | (defcustom pong-right-key "6" |
| 87 | "*Alternate key to press for bat 1 to go down (primary one is [right])." | 87 | "Alternate key to press for bat 1 to go down (primary one is [right])." |
| 88 | :group 'pong | 88 | :group 'pong |
| 89 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 89 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 90 | 90 | ||
| 91 | (defcustom pong-up-key "8" | 91 | (defcustom pong-up-key "8" |
| 92 | "*Alternate key to press for bat 2 to go up (primary one is [up])." | 92 | "Alternate key to press for bat 2 to go up (primary one is [up])." |
| 93 | :group 'pong | 93 | :group 'pong |
| 94 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 94 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 95 | 95 | ||
| 96 | (defcustom pong-down-key "2" | 96 | (defcustom pong-down-key "2" |
| 97 | "*Alternate key to press for bat 2 to go down (primary one is [down])." | 97 | "Alternate key to press for bat 2 to go down (primary one is [down])." |
| 98 | :group 'pong | 98 | :group 'pong |
| 99 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 99 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 100 | 100 | ||
| 101 | (defcustom pong-quit-key "q" | 101 | (defcustom pong-quit-key "q" |
| 102 | "*Key to press to quit pong." | 102 | "Key to press to quit pong." |
| 103 | :group 'pong | 103 | :group 'pong |
| 104 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 104 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 105 | 105 | ||
| @@ -109,12 +109,12 @@ | |||
| 109 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 109 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 110 | 110 | ||
| 111 | (defcustom pong-resume-key "p" | 111 | (defcustom pong-resume-key "p" |
| 112 | "*Key to press to resume pong." | 112 | "Key to press to resume pong." |
| 113 | :group 'pong | 113 | :group 'pong |
| 114 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) | 114 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 115 | 115 | ||
| 116 | (defcustom pong-timer-delay 0.1 | 116 | (defcustom pong-timer-delay 0.1 |
| 117 | "*Time to wait between every cycle." | 117 | "Time to wait between every cycle." |
| 118 | :group 'pong | 118 | :group 'pong |
| 119 | :type 'number) | 119 | :type 'number) |
| 120 | 120 | ||
diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el index 72c5bdaef18..6ea63e4f231 100644 --- a/lisp/play/solitaire.el +++ b/lisp/play/solitaire.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; solitaire.el --- game of solitaire in Emacs Lisp | 1 | ;;; solitaire.el --- game of solitaire in Emacs Lisp |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 3 | ;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Jan Schormann <Jan.Schormann@rechen-gilde.de> | 6 | ;; Author: Jan Schormann <Jan.Schormann@rechen-gilde.de> |
| 7 | ;; Created: Fri afternoon, Jun 3, 1994 | 7 | ;; Created: Fri afternoon, Jun 3, 1994 |
| @@ -118,7 +118,7 @@ The usual mnemonic keys move the cursor around the board; in addition, | |||
| 118 | (defvar solitaire-end-y nil) | 118 | (defvar solitaire-end-y nil) |
| 119 | 119 | ||
| 120 | (defcustom solitaire-auto-eval t | 120 | (defcustom solitaire-auto-eval t |
| 121 | "*Non-nil means check for possible moves after each major change. | 121 | "Non-nil means check for possible moves after each major change. |
| 122 | This takes a while, so switch this on if you like to be informed when | 122 | This takes a while, so switch this on if you like to be informed when |
| 123 | the game is over, or off, if you are working on a slow machine." | 123 | the game is over, or off, if you are working on a slow machine." |
| 124 | :type 'boolean | 124 | :type 'boolean |
diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el index eeaff089cf8..7e16de28672 100644 --- a/lisp/play/tetris.el +++ b/lisp/play/tetris.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; tetris.el --- implementation of Tetris for Emacs | 1 | ;;; tetris.el --- implementation of Tetris for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, | 3 | ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Glynn Clements <glynn@sensei.co.uk> | 6 | ;; Author: Glynn Clements <glynn@sensei.co.uk> |
| 7 | ;; Version: 2.01 | 7 | ;; Version: 2.01 |
| @@ -40,22 +40,22 @@ | |||
| 40 | :group 'games) | 40 | :group 'games) |
| 41 | 41 | ||
| 42 | (defcustom tetris-use-glyphs t | 42 | (defcustom tetris-use-glyphs t |
| 43 | "*Non-nil means use glyphs when available." | 43 | "Non-nil means use glyphs when available." |
| 44 | :group 'tetris | 44 | :group 'tetris |
| 45 | :type 'boolean) | 45 | :type 'boolean) |
| 46 | 46 | ||
| 47 | (defcustom tetris-use-color t | 47 | (defcustom tetris-use-color t |
| 48 | "*Non-nil means use color when available." | 48 | "Non-nil means use color when available." |
| 49 | :group 'tetris | 49 | :group 'tetris |
| 50 | :type 'boolean) | 50 | :type 'boolean) |
| 51 | 51 | ||
| 52 | (defcustom tetris-draw-border-with-glyphs t | 52 | (defcustom tetris-draw-border-with-glyphs t |
| 53 | "*Non-nil means draw a border even when using glyphs." | 53 | "Non-nil means draw a border even when using glyphs." |
| 54 | :group 'tetris | 54 | :group 'tetris |
| 55 | :type 'boolean) | 55 | :type 'boolean) |
| 56 | 56 | ||
| 57 | (defcustom tetris-default-tick-period 0.3 | 57 | (defcustom tetris-default-tick-period 0.3 |
| 58 | "*The default time taken for a shape to drop one row." | 58 | "The default time taken for a shape to drop one row." |
| 59 | :group 'tetris | 59 | :group 'tetris |
| 60 | :type 'number) | 60 | :type 'number) |
| 61 | 61 | ||