comparison lisp/progmodes/perl-mode.el @ 78660:ccfc1f1f4817

* progmodes/cperl-mode.el (cperl-indent-level): Autoload the safe-local-variable setting. * progmodes/perl-mode.el (perl-indent-level): Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 25 Aug 2007 21:29:48 +0000
parents fd7a34f481ad
children 4ad6fcfba45b b83d0dadb2a7
comparison
equal deleted inserted replaced
78659:01a61e30fa32 78660:ccfc1f1f4817
397 397
398 (defcustom perl-indent-level 4 398 (defcustom perl-indent-level 4
399 "*Indentation of Perl statements with respect to containing block." 399 "*Indentation of Perl statements with respect to containing block."
400 :type 'integer 400 :type 'integer
401 :group 'perl) 401 :group 'perl)
402 (put 'perl-indent-level 'safe-local-variable 'integerp) 402
403 ;; Is is not unusual to put both perl-indent-level and
404 ;; cperl-indent-level in the local variable section of a file. If only
405 ;; one of perl-mode and cperl-mode is in use, a warning will be issued
406 ;; about the variable. Autoload this here, so that no warning is
407 ;; issued when using either perl-mode or cperl-mode.
408 ;;;###autoload(put 'perl-indent-level 'safe-local-variable 'integerp)
409
403 (defcustom perl-continued-statement-offset 4 410 (defcustom perl-continued-statement-offset 4
404 "*Extra indent for lines not starting new statements." 411 "*Extra indent for lines not starting new statements."
405 :type 'integer 412 :type 'integer
406 :group 'perl) 413 :group 'perl)
407 (defcustom perl-continued-brace-offset -4 414 (defcustom perl-continued-brace-offset -4