diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 644de03cf4c..5bb904e6915 100644 --- 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))