Function: c-guess-region

c-guess-region is an autoloaded, interactive and byte-compiled function defined in cc-guess.el.gz.

Signature

(c-guess-region START END &optional ACCUMULATE)

Documentation

Guess the style on the region 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.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-guess.el.gz
;;;###autoload
(defun c-guess-region (start end &optional accumulate)
  "Guess the style on the region 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 "r\nP")
  (c-guess-region-no-install start end accumulate)
  (c-guess-install))