aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-11 18:47:38 +0000
committerDave Love2000-03-11 18:47:38 +0000
commitcbf48ec9a2e53392c6cf4df88ffb247873163879 (patch)
tree57c3e2a6bdcb4b8ad9fea222d72d815bd3545ce4
parentf24fef2f203499d233a6ab43e663a7ccf3c66eb6 (diff)
downloademacs-cbf48ec9a2e53392c6cf4df88ffb247873163879.tar.gz
emacs-cbf48ec9a2e53392c6cf4df88ffb247873163879.zip
(hanoi-internal): Don't use oddp.
-rw-r--r--lisp/play/hanoi.el3
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.