[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-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/cperl-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cperl-mode.el,v
retrieving revision 1.89.2.5
retrieving revision 1.89.2.6
diff -u -b -r1.89.2.5 -r1.89.2.6
--- progmodes/cperl-mode.el 23 Aug 2007 21:04:50 -0000 1.89.2.5
+++ progmodes/cperl-mode.el 25 Aug 2007 21:29:48 -0000 1.89.2.6
@@ -233,7 +233,13 @@
"*Indentation of CPerl statements with respect to containing block."
:type 'integer
:group 'cperl-indentation-details)
-(put 'cperl-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 'cperl-indent-level 'safe-local-variable 'integerp)
(defcustom cperl-lineup-step nil
"*`cperl-lineup' will always lineup at multiple of this number.
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22_BASE], Glenn Morris, 2007/08/03
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22_BASE], Glenn Morris, 2007/08/08
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22_BASE], Vinicius Jose Latorre, 2007/08/17
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22_BASE], Stefan Monnier, 2007/08/23
- [Emacs-diffs] Changes to emacs/lisp/progmodes/cperl-mode.el, v [EMACS_22_BASE],
Dan Nicolaescu <=