From: Richard M. Stallman Date: Fri, 31 Dec 2004 14:53:01 +0000 (+0000) Subject: (cperl-mode): Use mode-require-final-newline. X-Git-Tag: ttn-vms-21-2-B4~3023 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d441781a7a3abe9d63c9c444a8c68905ca429a6;p=emacs.git (cperl-mode): Use mode-require-final-newline. --- diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 00bd1af4da9..64f039f54f9 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -1462,7 +1462,7 @@ or as help on variables `cperl-tips', `cperl-problems', (make-local-variable 'indent-line-function) (setq indent-line-function 'cperl-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)