Function: data-debug-insert-simple-thing
data-debug-insert-simple-thing is a byte-compiled function defined in
data-debug.el.gz.
Signature
(data-debug-insert-simple-thing THING PREFIX PREBUTTONTEXT FACE)
Documentation
Insert one simple THING with a face.
PREFIX is the text that precedes the button. PREBUTTONTEXT is some text between prefix and the thing. FACE is the face to use.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/data-debug.el.gz
;;; simple thing
(defun data-debug-insert-simple-thing (thing prefix prebuttontext face)
"Insert one simple THING with a face.
PREFIX is the text that precedes the button.
PREBUTTONTEXT is some text between prefix and the thing.
FACE is the face to use."
(insert prefix prebuttontext)
(let ((start (point))
(end nil))
(insert (format "%s" thing))
(setq end (point))
(insert "\n" )
(put-text-property start end 'face face)
))