diff options
| author | Dave Love | 2001-02-08 00:05:15 +0000 |
|---|---|---|
| committer | Dave Love | 2001-02-08 00:05:15 +0000 |
| commit | a430ca8886725cf47b53eccf960bb054a32af395 (patch) | |
| tree | 7b678f1fed18b255a2ae4103009d974d205cb837 | |
| parent | f37489e6722f39bac68705a766862c853ccc70d0 (diff) | |
| download | emacs-a430ca8886725cf47b53eccf960bb054a32af395.tar.gz emacs-a430ca8886725cf47b53eccf960bb054a32af395.zip | |
(pong-blank-color, pong-bat-color)
(pong-ball-color, pong-border-color, pong-left-key)
(pong-right-key, pong-up-key, pong-down-key, pong-quit-key)
(pong-pause-key, pong-resume-key, pong-timer-delay): Fix :type.
| -rw-r--r-- | lisp/play/pong.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/play/pong.el b/lisp/play/pong.el index 20be4ddf0bd..e1d76b7b165 100644 --- a/lisp/play/pong.el +++ b/lisp/play/pong.el | |||
| @@ -62,62 +62,62 @@ | |||
| 62 | (defcustom pong-blank-color "black" | 62 | (defcustom pong-blank-color "black" |
| 63 | "*Color used for background." | 63 | "*Color used for background." |
| 64 | :group 'pong | 64 | :group 'pong |
| 65 | :type '(string)) | 65 | :type 'color) |
| 66 | 66 | ||
| 67 | (defcustom pong-bat-color "yellow" | 67 | (defcustom pong-bat-color "yellow" |
| 68 | "*Color used for bats." | 68 | "*Color used for bats." |
| 69 | :group 'pong | 69 | :group 'pong |
| 70 | :type '(string)) | 70 | :type 'color) |
| 71 | 71 | ||
| 72 | (defcustom pong-ball-color "red" | 72 | (defcustom pong-ball-color "red" |
| 73 | "*Color used for the ball." | 73 | "*Color used for the ball." |
| 74 | :group 'pong | 74 | :group 'pong |
| 75 | :type '(string)) | 75 | :type 'color) |
| 76 | 76 | ||
| 77 | (defcustom pong-border-color "white" | 77 | (defcustom pong-border-color "white" |
| 78 | "*Color used for pong balls." | 78 | "*Color used for pong balls." |
| 79 | :group 'pong | 79 | :group 'pong |
| 80 | :type '(string)) | 80 | :type 'color) |
| 81 | 81 | ||
| 82 | (defcustom pong-left-key "4" | 82 | (defcustom pong-left-key "4" |
| 83 | "*Alternate key to press for bat 1 to go up (primary one is [left])." | 83 | "*Alternate key to press for bat 1 to go up (primary one is [left])." |
| 84 | :group 'pong | 84 | :group 'pong |
| 85 | :type '(vector)) | 85 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 86 | 86 | ||
| 87 | (defcustom pong-right-key "6" | 87 | (defcustom pong-right-key "6" |
| 88 | "*Alternate key to press for bat 1 to go down (primary one is [right])." | 88 | "*Alternate key to press for bat 1 to go down (primary one is [right])." |
| 89 | :group 'pong | 89 | :group 'pong |
| 90 | :type '(vector)) | 90 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 91 | 91 | ||
| 92 | (defcustom pong-up-key "8" | 92 | (defcustom pong-up-key "8" |
| 93 | "*Alternate key to press for bat 2 to go up (primary one is [up])." | 93 | "*Alternate key to press for bat 2 to go up (primary one is [up])." |
| 94 | :group 'pong | 94 | :group 'pong |
| 95 | :type '(vector)) | 95 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 96 | 96 | ||
| 97 | (defcustom pong-down-key "2" | 97 | (defcustom pong-down-key "2" |
| 98 | "*Alternate key to press for bat 2 to go down (primary one is [down])." | 98 | "*Alternate key to press for bat 2 to go down (primary one is [down])." |
| 99 | :group 'pong | 99 | :group 'pong |
| 100 | :type '(vector)) | 100 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 101 | 101 | ||
| 102 | (defcustom pong-quit-key "q" | 102 | (defcustom pong-quit-key "q" |
| 103 | "*Key to press to quit pong." | 103 | "*Key to press to quit pong." |
| 104 | :group 'pong | 104 | :group 'pong |
| 105 | :type '(vector)) | 105 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 106 | 106 | ||
| 107 | (defcustom pong-pause-key "p" | 107 | (defcustom pong-pause-key "p" |
| 108 | "Key to press to pause pong." | 108 | "Key to press to pause pong." |
| 109 | :group 'pong | 109 | :group 'pong |
| 110 | :type '(vector)) | 110 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 111 | 111 | ||
| 112 | (defcustom pong-resume-key "p" | 112 | (defcustom pong-resume-key "p" |
| 113 | "*Key to press to resume pong." | 113 | "*Key to press to resume pong." |
| 114 | :group 'pong | 114 | :group 'pong |
| 115 | :type '(vector)) | 115 | :type '(restricted-sexp :match-alternatives (stringp vectorp))) |
| 116 | 116 | ||
| 117 | (defcustom pong-timer-delay 0.1 | 117 | (defcustom pong-timer-delay 0.1 |
| 118 | "*Time to wait between every cycle." | 118 | "*Time to wait between every cycle." |
| 119 | :group 'pong | 119 | :group 'pong |
| 120 | :type '(integer)) | 120 | :type 'number) |
| 121 | 121 | ||
| 122 | 122 | ||
| 123 | ;;; This is black magic. Define colors used | 123 | ;;; This is black magic. Define colors used |