emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/perl-mode.el, v [EMACS_22_


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/perl-mode.el, v [EMACS_22_BASE]
Date: Sat, 25 Aug 2007 21:29:53 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Dan Nicolaescu <dann>   07/08/25 21:29:52

Index: progmodes/perl-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/perl-mode.el,v
retrieving revision 1.69.2.2
retrieving revision 1.69.2.3
diff -u -b -r1.69.2.2 -r1.69.2.3
--- progmodes/perl-mode.el      16 Aug 2007 14:20:36 -0000      1.69.2.2
+++ progmodes/perl-mode.el      25 Aug 2007 21:29:47 -0000      1.69.2.3
@@ -399,7 +399,14 @@
   "*Indentation of Perl statements with respect to containing block."
   :type 'integer
   :group 'perl)
-(put 'perl-indent-level 'safe-local-variable 'integerp)
+
+;; Is is not unusual to put both perl-indent-level and
+;; cperl-indent-level in the local variable section of a file. If only
+;; one of perl-mode and cperl-mode is in use, a warning will be issued
+;; about the variable. Autoload this here, so that no warning is
+;; issued when using either perl-mode or cperl-mode.
+;;;###autoload(put 'perl-indent-level 'safe-local-variable 'integerp)
+
 (defcustom perl-continued-statement-offset 4
   "*Extra indent for lines not starting new statements."
   :type 'integer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]