]> git.eshelyaron.com Git - emacs.git/commitdiff
(hanoi): Don't show line and column numbers.
authorKarl Heuer <kwzh@gnu.org>
Wed, 14 Feb 1996 04:09:31 +0000 (04:09 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 14 Feb 1996 04:09:31 +0000 (04:09 +0000)
lisp/play/hanoi.el

index 17184afeebd301a96745dac84b3cf90f3f4c6efc..12a700d458effac90b572d4ba90d9900b41cf0c7 100644 (file)
          (setq i (1+ i))))
       (setq buffer-read-only t)
       (sit-for 0)
-      ;;
-      ;; do it!
-      ;;
-      (hanoi0 (1- nrings) pole-1 pole-2 pole-3)
+      ;; Disable display of line and column numbers, for speed.
+      (let ((line-number-mode nil)
+           (column-number-mode nil))
+       ;; do it!
+       (hanoi0 (1- nrings) pole-1 pole-2 pole-3))
       (goto-char (point-min))
       (message "Done")
       (setq buffer-read-only t)