aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-12-31 14:55:01 +0000
committerRichard M. Stallman <[email protected]>2004-12-31 14:55:01 +0000
commitd473a4f9e08bfc17f0f0b868b7185e5b5b57cb39 (patch)
tree6a67c33245b4c2716cd239c6748f4fdfa90dfcfe /lisp/progmodes
parentc3b575e1acc46d775e47a459de2873b6f0459c09 (diff)
(perl-mode): Use mode-require-final-newline.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/perl-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 6dc4eaeb56..c24e8046b6 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)