From: Robert Pluim Date: Mon, 2 Dec 2024 18:27:48 +0000 (+0100) Subject: Improve 'compilation-hidden-output' docstring X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4eca8081d0e59685ec3885071cca08157afc6522;p=emacs.git Improve 'compilation-hidden-output' docstring * lisp/progmodes/compile.el (compilation-hidden-output): Escape the newline so the example value is more suitable for copying. (cherry picked from commit a73d08bb67a3562da42ea929df01eb1fb0c17b99) --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index a13437e0b37..659b89971bb 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -95,8 +95,8 @@ like. For instance, to hide the verbose output from recursive makefiles, you can say something like: - (setq compilation-hidden-output - \\='(\"^make[^\n]+\n\"))" + (setopt compilation-hidden-output + \\='(\"^make[^\\n]+\\n\"))" :type '(choice regexp (repeat regexp)) :version "29.1")