Function: landmark-display-statistics

landmark-display-statistics is a byte-compiled function defined in landmark.el.gz.

Signature

(landmark-display-statistics)

Documentation

Obnoxiously display some statistics about previous games in mode line.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/landmark.el.gz
  (sit-for 0))				; Display NOW

(defun landmark-display-statistics ()
  "Obnoxiously display some statistics about previous games in mode line."
  ;; We store this string in the mode-line-process local variable.
  ;; This is certainly not the cleanest way out ...
  (setq mode-line-process
	(format ": Trials: %d, Avg#Moves: %d"
		landmark-number-of-trials
		(if (zerop landmark-number-of-trials)
		    0
		  (/ landmark-sum-of-moves landmark-number-of-trials))))
  (force-mode-line-update))