Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
706d2537
Commit
706d2537
authored
Dec 31, 2004
by
Richard M. Stallman
Browse files
(text-mode): Use mode-require-final-newline.
parent
7e630648
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/textmodes/text-mode.el
lisp/textmodes/text-mode.el
+2
-1
No files found.
lisp/textmodes/text-mode.el
View file @
706d2537
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment