From 2682662c96b784bf6355b33ee94c6d9c05031c5c Mon Sep 17 00:00:00 2001 From: Luke San Antonio Date: Sun, 3 Jul 2016 04:56:46 -0400 Subject: [PATCH] Use mode-* to set var require-final-newline --- adoc-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adoc-mode.el b/adoc-mode.el index 87e9650..ba160e3 100644 --- a/adoc-mode.el +++ b/adoc-mode.el @@ -3016,7 +3016,7 @@ Turning on Adoc mode runs the normal hook `adoc-mode-hook'." ;; misc (set (make-local-variable 'page-delimiter) "^<<<+$") - (set (make-local-variable 'require-final-newline) t) + (set (make-local-variable 'require-final-newline) mode-require-final-newline) (set (make-local-variable 'parse-sexp-lookup-properties) t) ;; it's the user's decision whether he wants to set imenu-sort-function to