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

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

parent 10902d69
...@@ -1462,7 +1462,7 @@ or as help on variables `cperl-tips', `cperl-problems', ...@@ -1462,7 +1462,7 @@ or as help on variables `cperl-tips', `cperl-problems',
(make-local-variable 'indent-line-function) (make-local-variable 'indent-line-function)
(setq indent-line-function 'cperl-indent-line) (setq indent-line-function 'cperl-indent-line)
(make-local-variable 'require-final-newline) (make-local-variable 'require-final-newline)
(setq require-final-newline t) (setq require-final-newline mode-require-final-newline)
(make-local-variable 'comment-start) (make-local-variable 'comment-start)
(setq comment-start "# ") (setq comment-start "# ")
(make-local-variable 'comment-end) (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