From b7802190fe3735704bba72b5c3030f67d9c1d3da Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 10 Oct 2022 12:37:04 +0300 Subject: [PATCH] ; Update the doc string of 'compilation-auto-jump-to-first-error' * lisp/progmodes/compile.el (compilation-auto-jump-to-first-error): Doc fix. (Bug#58407) --- lisp/progmodes/compile.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index ded5d2130e5..6473b507785 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -980,12 +980,17 @@ Faces `compilation-error-face', `compilation-warning-face', "Face name to use for leaving directory messages.") (defcustom compilation-auto-jump-to-first-error nil - "If non-nil, automatically jump to the first error during compilation." + "If non-nil, automatically jump to the first error during compilation. + +The value `if-location-known' means automatically jump to the first error +if the error's file can be found. The value `first-known' means jump to +the first error whose file can be found. Any other non-nil value means +jump to the first error unconditionally." :type '(choice (const :tag "Never" nil) (const :tag "Always" t) (const :tag "If location known" if-location-known) (const :tag "First known location" first-known)) - :version "23.1") + :version "29.1") (defvar-local compilation-auto-jump-to-next nil "If non-nil, automatically jump to the next error encountered.") -- 2.39.5