1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

(hanoi-internal): Don't use oddp.

This commit is contained in:
Dave Love 2000-03-11 18:47:38 +00:00
parent f24fef2f20
commit cbf48ec9a2

View File

@ -268,7 +268,8 @@ BITS must be of length nrings. Start at START-TIME."
(make-string (1- radius) (if vert ?\- ?\|))
(if vert ">" "v"))
for face =
(if (oddp n) hanoi-odd-ring-face hanoi-even-ring-face)
(if (eq (logand n 1) 1) ; oddp would require cl at runtime
hanoi-odd-ring-face hanoi-even-ring-face)
do (hanoi-put-face 0 (length str) face str)
collect (cons str diameter)))
;; Disable display of line and column numbers, for speed.