aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-mode.el2
-rw-r--r--lisp/progmodes/cc-vars.el7
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 40e5a3107a8..5148ff72dea 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -326,7 +326,7 @@
326 'c-indent-new-comment-line))) 326 'c-indent-new-comment-line)))
327 327
328 ;; now set their values 328 ;; now set their values
329 (setq require-final-newline t 329 (setq require-final-newline c-require-final-newline
330 parse-sexp-ignore-comments t 330 parse-sexp-ignore-comments t
331 indent-line-function 'c-indent-line 331 indent-line-function 'c-indent-line
332 indent-region-function 'c-indent-region 332 indent-region-function 'c-indent-region
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index 2b88a131776..50b09160ee3 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -704,6 +704,13 @@ space."
704 :type 'function 704 :type 'function
705 :group 'c) 705 :group 'c)
706 706
707(defcustom c-require-final-newline t
708 "*Controls whether a final newline is added to the file when saved.
709This value is given to `require-final-newline' at mode initialization;
710see that variable for details."
711 :type 'symbol
712 :group 'c)
713
707(defcustom c-electric-pound-behavior nil 714(defcustom c-electric-pound-behavior nil
708 "*List of behaviors for electric pound insertion. 715 "*List of behaviors for electric pound insertion.
709Only currently supported behavior is `alignleft'." 716Only currently supported behavior is `alignleft'."