From: Eli Zaretskii Date: Thu, 12 Dec 2024 05:40:32 +0000 (+0200) Subject: ; Fix documentation of a recent change in Eshell X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f077ec415a5016b2d866e0192badedb70bd7e67a;p=emacs.git ; Fix documentation of a recent change in Eshell * lisp/eshell/em-hist.el (eshell-history-isearch): Fix typo and wording. (Bug#74287) (cherry picked from commit 276a74f0f70126d099b64fefbcafa09758c20b2e) --- diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el index 4bcf434f6e4..2d48884bdb6 100644 --- a/lisp/eshell/em-hist.el +++ b/lisp/eshell/em-hist.el @@ -132,13 +132,13 @@ whitespace." :risky t) (defcustom eshell-history-isearch nil - "Non-nil to Isearch in input history only. -If t, usual Isearch keys like \\[isearch-forward] in Eshell search in -the input history only. If `dwim', Isearch in the input history when -point is at the command line, otherwise search in the current Eshell -buffer." + "If non-nil, Isearch searches in Eshell input history. +If t, usual Isearch keys like \\[isearch-forward] in Eshell search only +in the input history. If `dwim', Isearch commands search in the input +history when point is at the command line after the last prompt. The +value nil (the default) means to search in the current Eshell buffer." :type '(choice (const :tag "Don't search in input history" nil) - (const :tag "Search histroy when point is on command line" dwim) + (const :tag "Search history when point is on command line" dwim) (const :tag "Always search in input history" t)) :version "31.1")