summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-02 17:34:10 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-02 17:34:10 +0100
commit48d1e6e9d9217918b68daac9b23140bf8e36c2bf (patch)
treed2d693af22046ced07c7c26de55fa608549db6fa /lisp/isearch.el
parent8ff1a9d00bfe1b4b3b1aae5e2792c5f58e501aee (diff)
parentf38dfa56a0cfef77c2b0d8bb2869642a4e3b2ae4 (diff)
downloademacs-48d1e6e9d9217918b68daac9b23140bf8e36c2bf.tar.gz
Merge from origin/emacs-28
f38dfa56a0 ; Update loaddefs files. b3d4b18507 ; make change-history-commit 334ff0232e * lisp/repeat.el: Use same logic for repeat-check-key and ... 8230a47ecc * lisp/help.el (help--analyze-key): Prefer posn-set-point ... # Conflicts: # lisp/ldefs-boot.el
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 9dc8525417a..fcb7d646c66 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -521,14 +521,14 @@ This is like `describe-bindings', but displays only Isearch keys."
(interactive)
(let ((display-buffer-overriding-action isearch--display-help-action))
(call-interactively 'describe-key))
- (isearch-update))
+ (when isearch-mode (isearch-update)))
(defun isearch-describe-mode ()
"Display documentation of Isearch mode."
(interactive)
(let ((display-buffer-overriding-action isearch--display-help-action))
(describe-function 'isearch-forward))
- (isearch-update))
+ (when isearch-mode (isearch-update)))
(defalias 'isearch-mode-help 'isearch-describe-mode)