projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8299126
)
Make nxml-newline-and-indent argument optional
author
Stefan Kangas
<stefan@marxist.se>
Sun, 18 Oct 2020 01:17:58 +0000
(
03:17
+0200)
committer
Stefan Kangas
<stefan@marxist.se>
Sun, 18 Oct 2020 01:17:58 +0000
(
03:17
+0200)
* lisp/nxml/nxml-mode.el (nxml-newline-and-indent): Make argument
optional to conform to 'comment-line-break-function'. (Bug#40193)
lisp/nxml/nxml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/nxml/nxml-mode.el
b/lisp/nxml/nxml-mode.el
index 644de03cf4c99d63a8281b22608987b49de818a6..5bb904e6915b747a2d9ab4a853291ab62bf0f323 100644
(file)
--- a/
lisp/nxml/nxml-mode.el
+++ b/
lisp/nxml/nxml-mode.el
@@
-2230,7
+2230,7
@@
ENDP is t in the former case, nil in the latter."
(skip-line-prefix fill-prefix)
fill-prefix))
-(defun nxml-newline-and-indent (soft)
+(defun nxml-newline-and-indent (
&optional
soft)
(delete-horizontal-space)
(if soft (insert-and-inherit ?\n) (newline 1))
(nxml-indent-line))