diff options
author | Francesco Potortì <pot@gnu.org> | 2002-09-13 13:33:57 +0000 |
---|---|---|
committer | Francesco Potortì <pot@gnu.org> | 2002-09-13 13:33:57 +0000 |
commit | ba8cb9c56dfe9e87acccf62f4944284f14e6e59b (patch) | |
tree | 1a82bf723b64fe860b600a26d1cef763955279e0 /lisp/play/tetris.el | |
parent | c2f8b57c626d997176530f57ca2bf1104461ef87 (diff) | |
download | emacs-ba8cb9c56dfe9e87acccf62f4944284f14e6e59b.tar.gz |
(tetris-blank-options, tetris-cell-options):
Remove various redundant `(t nil)'.
(tetris-border-options): Use color on tty if available.
Diffstat (limited to 'lisp/play/tetris.el')
-rw-r--r-- | lisp/play/tetris.el | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el index ea4025cdee4..04c88392aed 100644 --- a/lisp/play/tetris.el +++ b/lisp/play/tetris.el @@ -160,25 +160,14 @@ Element 0 is ignored." ;; ;;;;;;;;;;;;; display options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defvar tetris-border-options - '(((glyph colorize) - (t ?\+)) - ((color-x color-x) - (mono-x grid-x) - (t nil)) - (((glyph color-x) [0.5 0.5 0.5]) - (t nil)))) - (defvar tetris-blank-options '(((glyph colorize) (t ?\040)) ((color-x color-x) (mono-x grid-x) - (color-tty color-tty) - (t nil)) + (color-tty color-tty)) (((glyph color-x) [0 0 0]) - (color-tty "black") - (t nil)))) + (color-tty "black")))) (defvar tetris-cell-options '(((glyph colorize) @@ -187,11 +176,19 @@ Element 0 is ignored." ((color-x color-x) (mono-x mono-x) (color-tty color-tty) - (mono-tty mono-tty) - (t nil)) + (mono-tty mono-tty)) ;; color information is taken from tetris-x-colors and tetris-tty-colors )) +(defvar tetris-border-options + '(((glyph colorize) + (t ?\+)) + ((color-x color-x) + (mono-x grid-x) + (color-tty color-tty)) + (((glyph color-x) [0.5 0.5 0.5]) + (color-tty "white")))) + (defvar tetris-space-options '(((t ?\040)) nil |