mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/help.el (help--analyze-key): Prefer posn-set-point over mouse-set-point
* lisp/help.el (help--analyze-key): Use posn-set-point instead of mouse-set-point that runs the hook mouse-leave-buffer-hook via mouse-minibuffer-check. Using posn-set-point also unnecessitates extra conditions added in bug#51421. * lisp/isearch.el (isearch-describe-key, isearch-describe-mode): Add precautions to not call isearch-update when the executed command exited isearch-mode (bug#51173).
This commit is contained in:
parent
740ae2818f
commit
8230a47ecc
2 changed files with 7 additions and 11 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue