From b14d552b33dcf0a2b85d91e7b385a07585a141b4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 7 Aug 2007 17:00:44 +0000 Subject: [PATCH] (tcl-indent-level, tcl-continued-indent-level): Add safe-local-variable prop. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/tcl.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 147d95e2c54..8d25f687b2b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-08-07 Tom Tromey + + * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level): + Add safe-local-variable property. + 2007-08-07 Chong Yidong * image-mode.el (image-toggle-display): Use image-refresh. diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index c7576a27114..f9fd7beffd2 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -126,11 +126,13 @@ "*Indentation of Tcl statements with respect to containing block." :type 'integer :group 'tcl) +(put 'tcl-indent-level 'safe-local-variable 'integerp) (defcustom tcl-continued-indent-level 4 "*Indentation of continuation line relative to first line of command." :type 'integer :group 'tcl) +(put 'tcl-continued-indent-level 'safe-local-variable 'integerp) (defcustom tcl-auto-newline nil "*Non-nil means automatically newline before and after braces you insert." -- 2.39.2