Function: button-end

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

Signature

(button-end BUTTON)

Documentation

Return the position at which BUTTON ends.

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
(defun button-end (button)
  "Return the position at which BUTTON ends.

This function only works when BUTTON is in the current buffer."
  (if (overlayp button)
      (overlay-end button)
    ;; Must be a text-property button.
    (or (next-single-property-change button 'button)
	(point-max))))