HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e63064
)
(text-mode): Use mode-require-final-newline.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 2004 14:58:41 +0000
(14:58 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 2004 14:58:41 +0000
(14:58 +0000)
lisp/textmodes/text-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/text-mode.el
b/lisp/textmodes/text-mode.el
index
d20a67d
..
ebe4a57
100644
(file)
--- a/
lisp/textmodes/text-mode.el
+++ b/
lisp/textmodes/text-mode.el
@@
-68,7
+68,8
@@
You can thus get the full benefit of adaptive filling
Turning on Text mode runs the normal hook `text-mode-hook'."
(make-local-variable 'text-mode-variant)
(setq text-mode-variant t)
- (set (make-local-variable 'require-final-newline) t)
+ (set (make-local-variable 'require-final-newline)
+ mode-require-final-newline)
(set (make-local-variable 'indent-line-function) 'indent-relative))
(define-derived-mode paragraph-indent-text-mode text-mode "Parindent"