Function: ert--text-button

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

Signature

(ert--text-button STRING &rest PROPERTIES)

Documentation

Return a string containing STRING as a text button with PROPERTIES.

See make-text-button.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;;; Buffer related helpers

(defun ert--text-button (string &rest properties)
  "Return a string containing STRING as a text button with PROPERTIES.

See `make-text-button'."
  (with-temp-buffer
    (insert string)
    (apply #'make-text-button (point-min) (point-max) properties)
    (buffer-string)))