branch: elpa/adoc-mode
commit 2682662c96b784bf6355b33ee94c6d9c05031c5c
Author: Luke San Antonio <[email protected]>
Commit: Luke San Antonio <[email protected]>
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 87e9650664..ba160e349f 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