Function: c-guess
c-guess is an autoloaded, interactive and byte-compiled function
defined in cc-guess.el.gz.
Signature
(c-guess &optional ACCUMULATE)
Documentation
Guess the style in the region up to c-guess-region-max, and install it.
The style is given a name based on the file's absolute file name.
If given a prefix argument (or if the optional argument ACCUMULATE is non-nil) then the previous guess is extended, otherwise a new guess is made from scratch.
Probably introduced at or before Emacs version 24.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-guess.el.gz
;;;###autoload
(defun c-guess (&optional accumulate)
"Guess the style in the region up to `c-guess-region-max', and install it.
The style is given a name based on the file's absolute file name.
If given a prefix argument (or if the optional argument ACCUMULATE is
non-nil) then the previous guess is extended, otherwise a new guess is
made from scratch."
(interactive "P")
(c-guess-region (point-min)
(min (point-max) (or c-guess-region-max
(point-max)))
accumulate))