[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: |
Martin Stjernholm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el |
Date: |
Sun, 16 Nov 2003 11:55:10 -0500 |
Index: emacs/lisp/progmodes/cc-vars.el
diff -c emacs/lisp/progmodes/cc-vars.el:1.34
emacs/lisp/progmodes/cc-vars.el:1.35
*** emacs/lisp/progmodes/cc-vars.el:1.34 Wed Sep 24 09:56:48 2003
--- emacs/lisp/progmodes/cc-vars.el Sun Nov 16 11:55:08 2003
***************
*** 878,889 ****
:group 'c)
(defcustom-c-stylevar c-label-minimum-indentation 1
! "*Minimum indentation for lines inside of top-level constructs.
This variable typically only affects code using the `gnu' style, which
! mandates a minimum of one space in front of every line inside
! top-level constructs. Specifically, the function
! `c-gnu-impose-minimum' on your `c-special-indent-hook' is what
! enforces this."
:type 'integer
:group 'c)
--- 878,888 ----
:group 'c)
(defcustom-c-stylevar c-label-minimum-indentation 1
! "*Minimum indentation for lines inside code blocks.
This variable typically only affects code using the `gnu' style, which
! mandates a minimum of one space in front of every line inside code
! blocks. Specifically, the function `c-gnu-impose-minimum' on your
! `c-special-indent-hook' is what enforces this."
:type 'integer
:group 'c)
***************
*** 1271,1276 ****
--- 1270,1283 ----
(get 'c-offsets-alist 'c-stylevar-fallback)))
:group 'c)
+ ;; The syntactic symbols that can occur inside code blocks. Used by
+ ;; `c-gnu-impose-minimum'.
+ (defconst c-inside-block-syms
+ '(defun-block-intro block-open block-close statement statement-cont
+ statement-block-intro statement-case-intro statement-case-open
+ substatement substatement-open substatement-label case-label label
+ do-while-closure else-clause catch-clause inlambda))
+
(defcustom c-style-variables-are-local-p t
"*Whether style variables should be buffer local by default.
If non-nil, then all indentation style related variables will be made
***************
*** 1575,1581 ****
'1-bit)
list)))
! (let ((buf (generate-new-buffer "test"))
parse-sexp-lookup-properties
parse-sexp-ignore-comments
lookup-syntax-properties)
--- 1582,1588 ----
'1-bit)
list)))
! (let ((buf (generate-new-buffer " test"))
parse-sexp-lookup-properties
parse-sexp-ignore-comments
lookup-syntax-properties)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el,
Martin Stjernholm <=