changeset 77262:fea3ea92ddb4

* progmodes/perl-mode.el (perl-indent-level): Mark as safe local var. * progmodes/cperl-mode.el (cperl-indent-level): Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 16 Apr 2007 07:05:28 +0000
parents 7cd776813f98
children ee73cde6a017
files lisp/ChangeLog lisp/progmodes/cperl-mode.el lisp/progmodes/perl-mode.el
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 16 03:09:50 2007 +0000
+++ b/lisp/ChangeLog	Mon Apr 16 07:05:28 2007 +0000
@@ -1,3 +1,8 @@
+2007-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* progmodes/perl-mode.el (perl-indent-level): Mark as safe local var.
+	* progmodes/cperl-mode.el (cperl-indent-level): Likewise.
+
 2007-04-15  Jay Belanger  <belanger@truman.edu>
 
 	* calc/calc.el (calc-version): New function.
--- a/lisp/progmodes/cperl-mode.el	Mon Apr 16 03:09:50 2007 +0000
+++ b/lisp/progmodes/cperl-mode.el	Mon Apr 16 07:05:28 2007 +0000
@@ -233,6 +233,7 @@
   "*Indentation of CPerl statements with respect to containing block."
   :type 'integer
   :group 'cperl-indentation-details)
+(put 'cperl-indent-level 'safe-local-variable 'integerp)
 
 (defcustom cperl-lineup-step nil
   "*`cperl-lineup' will always lineup at multiple of this number.
--- a/lisp/progmodes/perl-mode.el	Mon Apr 16 03:09:50 2007 +0000
+++ b/lisp/progmodes/perl-mode.el	Mon Apr 16 07:05:28 2007 +0000
@@ -391,6 +391,7 @@
   "*Indentation of Perl statements with respect to containing block."
   :type 'integer
   :group 'perl)
+(put 'perl-indent-level 'safe-local-variable 'integerp)
 (defcustom perl-continued-statement-offset 4
   "*Extra indent for lines not starting new statements."
   :type 'integer