Improve 'compilation-hidden-output' docstring

* lisp/progmodes/compile.el (compilation-hidden-output): Escape
the newline so the example value is more suitable for copying.
This commit is contained in:
Robert Pluim 2024-12-02 19:27:48 +01:00
parent d50293b0f1
commit a73d08bb67

View file

@ -95,8 +95,8 @@ like.
For instance, to hide the verbose output from recursive For instance, to hide the verbose output from recursive
makefiles, you can say something like: makefiles, you can say something like:
(setq compilation-hidden-output (setopt compilation-hidden-output
\\='(\"^make[^\n]+\n\"))" \\='(\"^make[^\\n]+\\n\"))"
:type '(choice regexp :type '(choice regexp
(repeat regexp)) (repeat regexp))
:version "29.1") :version "29.1")