Function: data-debug-insert-buffer-list-button

data-debug-insert-buffer-list-button is a byte-compiled function defined in data-debug.el.gz.

Signature

(data-debug-insert-buffer-list-button BUFFERLIST PREFIX PREBUTTONTEXT)

Documentation

Insert a button representing BUFFERLIST.

PREFIX is the text that precedes the button. PREBUTTONTEXT is some text between prefix and the buffer list button.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/data-debug.el.gz
(defun data-debug-insert-buffer-list-button (bufferlist
					      prefix
					      prebuttontext)
  "Insert a button representing BUFFERLIST.
PREFIX is the text that precedes the button.
PREBUTTONTEXT is some text between prefix and the buffer list button."
  (let ((start (point))
	(end nil)
	(str (format "#<buffer list: %d entries>" (length bufferlist)))
	) ;; (tip nil)
    (insert prefix prebuttontext str)
    (setq end (point))
    (put-text-property (- end (length str)) end 'face 'font-lock-comment-face)
    (put-text-property start end 'ddebug bufferlist)
    (put-text-property start end 'ddebug-indent(length prefix))
    (put-text-property start end 'ddebug-prefix prefix)
    ;; (put-text-property start end 'help-echo tip)
    (put-text-property start end 'ddebug-function
		       'data-debug-insert-buffer-list-from-point)
    (insert "\n")
    )
  )