diff options
| author | Dave Love | 2000-03-11 18:47:38 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-11 18:47:38 +0000 |
| commit | cbf48ec9a2e53392c6cf4df88ffb247873163879 (patch) | |
| tree | 57c3e2a6bdcb4b8ad9fea222d72d815bd3545ce4 | |
| parent | f24fef2f203499d233a6ab43e663a7ccf3c66eb6 (diff) | |
| download | emacs-cbf48ec9a2e53392c6cf4df88ffb247873163879.tar.gz emacs-cbf48ec9a2e53392c6cf4df88ffb247873163879.zip | |
(hanoi-internal): Don't use oddp.
| -rw-r--r-- | lisp/play/hanoi.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/play/hanoi.el b/lisp/play/hanoi.el index 15b34e36873..8b98f067be9 100644 --- a/lisp/play/hanoi.el +++ b/lisp/play/hanoi.el | |||
| @@ -268,7 +268,8 @@ BITS must be of length nrings. Start at START-TIME." | |||
| 268 | (make-string (1- radius) (if vert ?\- ?\|)) | 268 | (make-string (1- radius) (if vert ?\- ?\|)) |
| 269 | (if vert ">" "v")) | 269 | (if vert ">" "v")) |
| 270 | for face = | 270 | for face = |
| 271 | (if (oddp n) hanoi-odd-ring-face hanoi-even-ring-face) | 271 | (if (eq (logand n 1) 1) ; oddp would require cl at runtime |
| 272 | hanoi-odd-ring-face hanoi-even-ring-face) | ||
| 272 | do (hanoi-put-face 0 (length str) face str) | 273 | do (hanoi-put-face 0 (length str) face str) |
| 273 | collect (cons str diameter))) | 274 | collect (cons str diameter))) |
| 274 | ;; Disable display of line and column numbers, for speed. | 275 | ;; Disable display of line and column numbers, for speed. |