]> git.eshelyaron.com Git - emacs.git/commitdiff
(perl-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:55:01 +0000 (14:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:55:01 +0000 (14:55 +0000)
lisp/progmodes/perl-mode.el

index 6dc4eaeb5699ba5c06cfa803b82829d6b3a0e077..c24e8046b667dfb6f97e72340ad27b5b7c0f7938 100644 (file)
@@ -476,7 +476,7 @@ Turning on Perl mode runs the normal hook `perl-mode-hook'."
   (make-local-variable 'indent-line-function)
   (setq indent-line-function 'perl-indent-line)
   (make-local-variable 'require-final-newline)
-  (setq require-final-newline t)
+  (setq require-final-newline mode-require-final-newline)
   (make-local-variable 'comment-start)
   (setq comment-start "# ")
   (make-local-variable 'comment-end)