/[emacs]/emacs/lisp/progmodes/cc-vars.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/cc-vars.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by mast, Wed Aug 11 16:22:21 2004 UTC revision 1.37 by rms, Fri Dec 31 14:52:17 2004 UTC
# Line 839  space." Line 839  space."
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

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26