Function: data-debug-insert-custom
data-debug-insert-custom is a byte-compiled function defined in
data-debug.el.gz.
Signature
(data-debug-insert-custom THINGSTRING PREFIX PREBUTTONTEXT FACE)
Documentation
Insert one simple THINGSTRING with a face.
Use for simple items that need a custom insert. 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
;;; custom thing
(defun data-debug-insert-custom (thingstring prefix prebuttontext face)
"Insert one simple THINGSTRING with a face.
Use for simple items that need a custom insert.
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 thingstring)
(setq end (point))
(insert "\n" )
(put-text-property start end 'face face)
))