From 4eca8081d0e59685ec3885071cca08157afc6522 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 2 Dec 2024 19:27:48 +0100 Subject: [PATCH] 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) --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.2