Commit d473a4f9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(perl-mode): Use mode-require-final-newline.

parent c3b575e1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment