Function: gametree-current-branch-score

gametree-current-branch-score is a byte-compiled function defined in gametree.el.gz.

Signature

(gametree-current-branch-score)

Documentation

Return score of current variation according to its score tag.

When no score tag is present, use the value of gametree-default-score.

Source Code

;; Defined in /usr/src/emacs/lisp/play/gametree.el.gz
;;;; Scoring functions

(defun gametree-current-branch-score ()
  "Return score of current variation according to its score tag.
When no score tag is present, use the value of `gametree-default-score'."
  (if (looking-at gametree-score-regexp)
      (string-to-number (match-string 3))
    gametree-default-score))