Skip to content

Commit c117d58

Browse files
authored
Merge pull request #1 from lukesanantonio/master
Use mode-* to set var require-final-newline
2 parents 7458843 + 2682662 commit c117d58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adoc-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3016,7 +3016,7 @@ Turning on Adoc mode runs the normal hook `adoc-mode-hook'."
30163016

30173017
;; misc
30183018
(set (make-local-variable 'page-delimiter) "^<<<+$")
3019-
(set (make-local-variable 'require-final-newline) t)
3019+
(set (make-local-variable 'require-final-newline) mode-require-final-newline)
30203020
(set (make-local-variable 'parse-sexp-lookup-properties) t)
30213021

30223022
;; it's the user's decision whether he wants to set imenu-sort-function to

0 commit comments

Comments
 (0)