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

index 00bd1af4da9f6c965ee0d3efc353c0e75aca511f..64f039f54f965b73d81c3fdbdc8d190f0aebe1f7 100644 (file)
@@ -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)