Function: insert-button

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

Signature

(insert-button LABEL &rest PROPERTIES)

Documentation

Insert a button with the label LABEL.

The remaining arguments form a plist of PROPERTY VALUE pairs, specifying properties to add to the button. In addition, the keyword argument :type may be used to specify a button-type from which to inherit other properties; see define-button-type.

Also see insert-text-button, make-button.

Source Code

;; Defined in /usr/src/emacs/lisp/button.el.gz
(defun insert-button (label &rest properties)
  "Insert a button with the label LABEL.
The remaining arguments form a plist of PROPERTY VALUE pairs,
specifying properties to add to the button.
In addition, the keyword argument :type may be used to specify a
`button-type' from which to inherit other properties; see
`define-button-type'.

Also see `insert-text-button', `make-button'."
  (apply #'make-button
	 (prog1 (point) (insert label))
	 (point)
	 properties))