# HG changeset patch # User Richard M. Stallman # Date 1104504901 0 # Node ID ccfc48223233ac5d13735cc11984168bf2227c83 # Parent 376983f6260291bd1c672c7b668f9541e7b54b98 (perl-mode): Use mode-require-final-newline. diff -r 376983f62602 -r ccfc48223233 lisp/progmodes/perl-mode.el --- a/lisp/progmodes/perl-mode.el Fri Dec 31 14:54:45 2004 +0000 +++ b/lisp/progmodes/perl-mode.el Fri Dec 31 14:55:01 2004 +0000 @@ -476,7 +476,7 @@ (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)