]> git.eshelyaron.com Git - emacs.git/commitdiff
Make nxml-newline-and-indent argument optional
authorStefan Kangas <stefan@marxist.se>
Sun, 18 Oct 2020 01:17:58 +0000 (03:17 +0200)
committerStefan 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

index 644de03cf4c99d63a8281b22608987b49de818a6..5bb904e6915b747a2d9ab4a853291ab62bf0f323 100644 (file)
@@ -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))