Commit 980a8a00 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

(c-require-final-newline): Added a variable to make the initialization of

require-final-newline' more configurable.
parent 66fd374b
2003-01-26 Martin Stjernholm <bug-cc-mode@gnu.org>
* progmodes/cc-vars.el, progmodes/cc-mode.el
(c-require-final-newline): Added a variable to make the
initialization of `require-final-newline' more configurable.
2003-01-26 Jan D. <jan.h.d@swipnet.se>
 
* emacs-lisp/authors.el (authors-aliases): Add Jan D.
......
......@@ -326,7 +326,7 @@
'c-indent-new-comment-line)))
;; now set their values
(setq require-final-newline t
(setq require-final-newline c-require-final-newline
parse-sexp-ignore-comments t
indent-line-function 'c-indent-line
indent-region-function 'c-indent-region
......
......@@ -704,6 +704,13 @@ space."
:type 'function
:group 'c)
(defcustom c-require-final-newline t
"*Controls whether a final newline is added to the file when saved.
This value is given to `require-final-newline' at mode initialization;
see that variable for details."
:type 'symbol
:group 'c)
(defcustom c-electric-pound-behavior nil
"*List of behaviors for electric pound insertion.
Only currently supported behavior is `alignleft'."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment