bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40193: 27.0.50; nxml-newline-and-indent argument should be optional


From: Stefan Kangas
Subject: bug#40193: 27.0.50; nxml-newline-and-indent argument should be optional
Date: Sun, 18 Oct 2020 01:29:16 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

close 40193 28.1
thanks

Sergey Trofimov <sarg@sarg.org.ru> writes:

> According to the definition of comment-line-break-function:
>   The function should take a single optional argument, which is a flag
>   indicating whether it should use soft newlines.
>
> But in nxml-mode:
>   (setq-local comment-line-break-function #'nxml-newline-and-indent)
>   (defun nxml-newline-and-indent (soft) ...)
>
> Could you please make an argument optional?

I've made this change on master; the fix will be in Emacs 28.1.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]