changeset 59242:520077017d32

(cperl-mode): Use mode-require-final-newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 14:53:01 +0000
parents 685fd8697e78
children d4561cc8329d
files lisp/progmodes/cperl-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el	Fri Dec 31 14:52:42 2004 +0000
+++ b/lisp/progmodes/cperl-mode.el	Fri Dec 31 14:53:01 2004 +0000
@@ -1462,7 +1462,7 @@
   (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)