Improve 'compilation-hidden-output' docstring
authorRobert Pluim <rpluim@gmail.com>
Mon, 2 Dec 2024 18:27:48 +0000 (19:27 +0100)
committerRobert Pluim <rpluim@gmail.com>
Wed, 4 Dec 2024 13:50:41 +0000 (14:50 +0100)
* lisp/progmodes/compile.el (compilation-hidden-output): Escape
the newline so the example value is more suitable for copying.

lisp/progmodes/compile.el

index d2e74aa44a663235f0bf437b9b0f3ef71543fece..95dce7a430fb741bc02b892569b2fa7147e3f30a 100644 (file)
@@ -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")