[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el |
Date: |
Fri, 31 Dec 2004 10:05:16 -0500 |
Index: emacs/lisp/progmodes/cc-vars.el
diff -c emacs/lisp/progmodes/cc-vars.el:1.36
emacs/lisp/progmodes/cc-vars.el:1.37
*** emacs/lisp/progmodes/cc-vars.el:1.36 Wed Aug 11 16:22:21 2004
--- emacs/lisp/progmodes/cc-vars.el Fri Dec 31 14:52:17 2004
***************
*** 839,868 ****
'((c-mode . t)
(c++-mode . t)
(objc-mode . t))
! "*Controls whether a final newline is ensured when the file is saved.
! The value is an association list that for each language mode specifies
! the value to give to `require-final-newline' at mode initialization;
! see that variable for details about the value. If a language isn't
! present on the association list, CC Mode won't set
! `require-final-newline' in buffers for that language."
:type `(set (cons :format "%v"
(const :format "C " c-mode)
! (symbol :format "%v" :value ,require-final-newline))
(cons :format "%v"
(const :format "C++ " c++-mode)
! (symbol :format "%v" :value ,require-final-newline))
(cons :format "%v"
(const :format "ObjC " objc-mode)
! (symbol :format "%v" :value ,require-final-newline))
(cons :format "%v"
(const :format "Java " java-mode)
! (symbol :format "%v" :value ,require-final-newline))
(cons :format "%v"
(const :format "IDL " idl-mode)
! (symbol :format "%v" :value ,require-final-newline))
(cons :format "%v"
(const :format "Pike " pike-mode)
! (symbol :format "%v" :value ,require-final-newline)))
:group 'c)
(defcustom c-electric-pound-behavior nil
--- 839,866 ----
'((c-mode . t)
(c++-mode . t)
(objc-mode . t))
! "*Controls `require-final-newline' in C-related major modes.
! The value is an association list specifying, for each specific mode,
! whether to override `require-final-newline'. If the cdr of the element
! is non-nil, that means to use `mode-require-final-newline' instead."
:type `(set (cons :format "%v"
(const :format "C " c-mode)
! (const t))
(cons :format "%v"
(const :format "C++ " c++-mode)
! (const t))
(cons :format "%v"
(const :format "ObjC " objc-mode)
! (const t))
(cons :format "%v"
(const :format "Java " java-mode)
! (const t))
(cons :format "%v"
(const :format "IDL " idl-mode)
! (const t))
(cons :format "%v"
(const :format "Pike " pike-mode)
! (const t)))
:group 'c)
(defcustom c-electric-pound-behavior nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el,
Richard M . Stallman <=