Function: vc-hg--bookmarks

vc-hg--bookmarks is a byte-compiled function defined in vc-hg.el.gz.

Signature

(vc-hg--bookmarks)

Documentation

Return list of strings naming all bookmarks.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg--bookmarks ()
  "Return list of strings naming all bookmarks."
  (let (res)
    (with-temp-buffer
      (vc-hg-command t nil nil "bookmark" "--list")
      (goto-char (point-min))
      (while (re-search-forward "^ [ *] \\(\\S-+\\)" nil t)
        (push (match-string 1) res)))
    res))