[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 [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-vars.el [lexbind] |
Date: |
Thu, 20 Nov 2003 19:36:40 -0500 |
Index: emacs/lisp/progmodes/cc-vars.el
diff -c emacs/lisp/progmodes/cc-vars.el:1.21.2.2
emacs/lisp/progmodes/cc-vars.el:1.21.2.3
*** emacs/lisp/progmodes/cc-vars.el:1.21.2.2 Tue Oct 14 19:30:16 2003
--- emacs/lisp/progmodes/cc-vars.el Thu Nov 20 19:35:51 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 [lexbind],
Miles Bader <=