Mercurial > emacs
diff lisp/progmodes/cc-vars.el @ 79885:897a4cc5c95d
* progmodes/sh-script.el (sh-basic-offset):
* progmodes/cc-vars.el (c-syntactic-indentation)
(c-syntactic-indentation-in-macros): Mark as safe.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 19 Jan 2008 18:32:34 +0000 |
parents | 9f6170e094c3 |
children | 996fec9cb719 5d58981e6690 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-vars.el Sat Jan 19 15:24:59 2008 +0000 +++ b/lisp/progmodes/cc-vars.el Sat Jan 19 18:32:34 2008 +0000 @@ -315,6 +315,7 @@ :type 'boolean :group 'c) (make-variable-buffer-local 'c-syntactic-indentation) +(put 'c-syntactic-indentation 'safe-local-variable 'booleanp) (defcustom c-syntactic-indentation-in-macros t "*Enable syntactic analysis inside macros. @@ -333,6 +334,7 @@ better with the \"do { ... } while \(0)\" trick)." :type 'boolean :group 'c) +(put 'c-syntactic-indentation-in-macros 'safe-local-variable 'booleanp) (defcustom-c-stylevar c-comment-only-line-offset 0 "*Extra offset for line which contains only the start of a comment.