Function: hanoi-pos-on-tower-p

hanoi-pos-on-tower-p is a byte-compiled function defined in hanoi.el.gz.

Signature

(hanoi-pos-on-tower-p POS)

Source Code

;; Defined in /usr/src/emacs/lisp/play/hanoi.el.gz
;; Check if a buffer position lies on a tower (vis. in the fly row).
(defun hanoi-pos-on-tower-p (pos)
  (if hanoi-horizontal-flag
      (/= (% pos fly-step) fly-row-start)
    (>= pos (+ fly-row-start baseward-step))))