Function: hbdata:ebut-instance-last

hbdata:ebut-instance-last is a byte-compiled function defined in hbdata.el.

Signature

(hbdata:ebut-instance-last LBL-KEY KEY-SRC &optional DIRECTORY)

Documentation

Return highest instance number for explicit button label.

1 if not repeated, nil if no instance.
Utilize arguments LBL-KEY, KEY-SRC and optional DIRECTORY.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbdata.el
(defun hbdata:ebut-instance-last (lbl-key key-src &optional directory)
  "Return highest instance number for explicit button label.
1 if not repeated, nil if no instance.
Utilize arguments LBL-KEY, KEY-SRC and optional DIRECTORY."
  (hbdata:apply-entry
   (lambda ()
     (if (looking-at "[0-9]+")
	 (string-to-number (match-string 0))
       1))
   lbl-key key-src directory nil 'instance))