[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/isearch-mb f84736a7b9: Remove isearch pre/post command
From: |
ELPA Syncer |
Subject: |
[elpa] externals/isearch-mb f84736a7b9: Remove isearch pre/post command hooks instead of overriding them |
Date: |
Wed, 2 Mar 2022 14:57:37 -0500 (EST) |
branch: externals/isearch-mb
commit f84736a7b98ead84822ca5287cf256bec6b2d30e
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>
Remove isearch pre/post command hooks instead of overriding them
---
isearch-mb.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/isearch-mb.el b/isearch-mb.el
index f58b75bf7c..5ad71a3769 100644
--- a/isearch-mb.el
+++ b/isearch-mb.el
@@ -206,13 +206,13 @@ minibuffer."
(defun isearch-mb--session ()
"Read search string from the minibuffer."
+ (remove-hook 'pre-command-hook 'isearch-pre-command-hook)
+ (remove-hook 'post-command-hook 'isearch-post-command-hook)
(setq overriding-terminal-local-map nil)
(condition-case nil
(apply
(catch 'isearch-mb--continue
(cl-letf (((cdr isearch-mode-map) nil)
- ((symbol-function #'isearch-pre-command-hook) #'ignore)
- ((symbol-function #'isearch-post-command-hook) #'ignore)
((symbol-function #'isearch--momentary-message)
#'isearch-mb--message)
;; Setting `isearch-message-function' currently disables
lazy
;; count, so we need this as a workaround.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/isearch-mb f84736a7b9: Remove isearch pre/post command hooks instead of overriding them,
ELPA Syncer <=