Function: c-guess-dump-guessed-style
c-guess-dump-guessed-style is an interactive and byte-compiled
function defined in cc-guess.el.gz.
Signature
(c-guess-dump-guessed-style &optional PRINTER)
Documentation
Show the guessed style.
pp is used to print the style but if PRINTER is given,
PRINTER is used instead. If PRINTER is not nil, it
is called with one argument, the guessed style.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-guess.el.gz
(defun c-guess-dump-guessed-style (&optional printer)
"Show the guessed style.
`pp' is used to print the style but if PRINTER is given,
PRINTER is used instead. If PRINTER is not nil, it
is called with one argument, the guessed style."
(interactive)
(let ((style (c-guess-make-style c-guess-guessed-basic-offset
c-guess-guessed-offsets-alist)))
(if style
(with-output-to-temp-buffer "*Guessed Style*"
(funcall (if printer printer 'pp) style))
(error "Not yet guessed"))))