Function: button-start

button-start is a byte-compiled function defined in button.el.gz.

Signature

(button-start BUTTON)

Documentation

Return the position at which BUTTON starts.

This function only works when BUTTON is in the current buffer.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
;;; Button properties and other attributes

(defun button-start (button)
  "Return the position at which BUTTON starts.

This function only works when BUTTON is in the current buffer."
  (if (overlayp button)
      (overlay-start button)
    ;; Must be a text-property button.
    (or (previous-single-property-change (1+ button) 'button)
	(point-min))))