From: Eli Zaretskii Date: Mon, 10 Oct 2022 09:37:04 +0000 (+0300) Subject: ; Update the doc string of 'compilation-auto-jump-to-first-error' X-Git-Tag: emacs-29.0.90~1616^2~672 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7802190fe3735704bba72b5c3030f67d9c1d3da;p=emacs.git ; 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) --- 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.")