From: Richard M. Stallman Date: Fri, 31 Dec 2004 14:55:01 +0000 (+0000) Subject: (perl-mode): Use mode-require-final-newline. X-Git-Tag: ttn-vms-21-2-B4~3016 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d473a4f9e08bfc17f0f0b868b7185e5b5b57cb39;p=emacs.git (perl-mode): Use mode-require-final-newline. --- diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 6dc4eaeb569..c24e8046b66 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -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)