changeset 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 8e95d2477e90
children f42f3002a850
files lisp/ChangeLog lisp/progmodes/cc-vars.el lisp/progmodes/sh-script.el
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jan 19 15:24:59 2008 +0000
+++ b/lisp/ChangeLog	Sat Jan 19 18:32:34 2008 +0000
@@ -1,3 +1,9 @@
+2008-01-19  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* progmodes/sh-script.el (sh-basic-offset):
+	* progmodes/cc-vars.el (c-syntactic-indentation)
+	(c-syntactic-indentation-in-macros): Mark as safe.
+
 2008-01-19  Juanma Barranquero  <lekktu@gmail.com>
 
 	* blank-mode.el (blank-style, blank-chars, blank-hspace-regexp)
--- 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.
--- a/lisp/progmodes/sh-script.el	Sat Jan 19 15:24:59 2008 +0000
+++ b/lisp/progmodes/sh-script.el	Sat Jan 19 18:32:34 2008 +0000
@@ -1205,6 +1205,7 @@
 This value is used for the `+' and `-' symbols in an indentation variable."
   :type 'integer
   :group 'sh-indentation)
+(put 'sh-basic-offset 'safe-local-variable 'integerp)
 
 (defcustom sh-indent-comment nil
   "*How a comment line is to be indented.