Function: cpp-choose-face
cpp-choose-face is a byte-compiled function defined in cpp.el.gz.
Signature
(cpp-choose-face PROMPT DEFAULT)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(defun cpp-choose-face (prompt default)
;; Choose a face from cpp-face-default-list.
;; PROMPT is what to say to the user.
;; DEFAULT is the default face.
(or (if cpp-button-event
(x-popup-menu cpp-button-event
(list prompt (cons prompt cpp-face-default-list)))
(let ((name (car (rassq default cpp-face-default-list))))
(cdr (assoc (completing-read (if name
(concat prompt
" (default " name "): ")
(concat prompt ": "))
cpp-face-default-list nil t)
cpp-face-all-list))))
default))