Function: gametree-compute-and-insert-score

gametree-compute-and-insert-score is an interactive and byte-compiled function defined in gametree.el.gz.

Signature

(gametree-compute-and-insert-score)

Documentation

Compute current node score, maybe recursively from subnodes. Insert it.

Subnodes which have been manually scored are honored.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/play/gametree.el.gz
(defun gametree-compute-and-insert-score ()
  "Compute current node score, maybe recursively from subnodes.  Insert it.
Subnodes which have been manually scored are honored."
  (interactive "*")
  (let ((auto (not (and (looking-at gametree-score-regexp)
                        (not (null (match-string 2))))))
        (score (gametree-compute-reduced-score)))
    (gametree-insert-score score auto)))