Function: hanoi-goto-char

hanoi-goto-char is a byte-compiled function defined in hanoi.el.gz.

Signature

(hanoi-goto-char POS)

Source Code

;; Defined in /usr/src/emacs/lisp/play/hanoi.el.gz
;; like goto-char, but if position is outside the window, then move to
;; corresponding position in the first row displayed.
(defun hanoi-goto-char (pos)
  (goto-char (if (or hanoi-horizontal-flag (<= (window-start) pos))
		 pos
	       (+ (window-start) (% (- pos fly-row-start) baseward-step)))))