839 |
'((c-mode . t) |
'((c-mode . t) |
840 |
(c++-mode . t) |
(c++-mode . t) |
841 |
(objc-mode . t)) |
(objc-mode . t)) |
842 |
"*Controls whether a final newline is ensured when the file is saved. |
"*Controls `require-final-newline' in C-related major modes. |
843 |
The value is an association list that for each language mode specifies |
The value is an association list specifying, for each specific mode, |
844 |
the value to give to `require-final-newline' at mode initialization; |
whether to override `require-final-newline'. If the cdr of the element |
845 |
see that variable for details about the value. If a language isn't |
is non-nil, that means to use `mode-require-final-newline' instead." |
|
present on the association list, CC Mode won't set |
|
|
`require-final-newline' in buffers for that language." |
|
846 |
:type `(set (cons :format "%v" |
:type `(set (cons :format "%v" |
847 |
(const :format "C " c-mode) |
(const :format "C " c-mode) |
848 |
(symbol :format "%v" :value ,require-final-newline)) |
(const t)) |
849 |
(cons :format "%v" |
(cons :format "%v" |
850 |
(const :format "C++ " c++-mode) |
(const :format "C++ " c++-mode) |
851 |
(symbol :format "%v" :value ,require-final-newline)) |
(const t)) |
852 |
(cons :format "%v" |
(cons :format "%v" |
853 |
(const :format "ObjC " objc-mode) |
(const :format "ObjC " objc-mode) |
854 |
(symbol :format "%v" :value ,require-final-newline)) |
(const t)) |
855 |
(cons :format "%v" |
(cons :format "%v" |
856 |
(const :format "Java " java-mode) |
(const :format "Java " java-mode) |
857 |
(symbol :format "%v" :value ,require-final-newline)) |
(const t)) |
858 |
(cons :format "%v" |
(cons :format "%v" |
859 |
(const :format "IDL " idl-mode) |
(const :format "IDL " idl-mode) |
860 |
(symbol :format "%v" :value ,require-final-newline)) |
(const t)) |
861 |
(cons :format "%v" |
(cons :format "%v" |
862 |
(const :format "Pike " pike-mode) |
(const :format "Pike " pike-mode) |
863 |
(symbol :format "%v" :value ,require-final-newline))) |
(const t))) |
864 |
:group 'c) |
:group 'c) |
865 |
|
|
866 |
(defcustom c-electric-pound-behavior nil |
(defcustom c-electric-pound-behavior nil |