summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorTino Calancha <f92capac@gmail.com>2016-06-05 01:06:12 +0300
committerJuri Linkov <juri@linkov.net>2016-06-05 01:06:12 +0300
commit700afe62a4cbd9ecf24551ddc4747e6319fb51a2 (patch)
treec7e8588595c4de3895dccf72fe6b8c9eecbb4b3b /lisp/isearch.el
parentabfe07ad61d6f95c3dc0b1aee179a397f1d0f9fc (diff)
downloademacs-700afe62a4cbd9ecf24551ddc4747e6319fb51a2.tar.gz
isearch-edit-string resumes multi isearches
* lisp/isearch.el (with-isearch-suspended): Remember and restore multi-isearch variables. (Bug#21663)
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 7360a0b3742..eabf05b0b17 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1259,6 +1259,11 @@ You can update the global isearch variables by setting new values to
(isearch-adjusted isearch-adjusted)
(isearch-yank-flag isearch-yank-flag)
(isearch-error isearch-error)
+
+ (multi-isearch-file-list-new multi-isearch-file-list)
+ (multi-isearch-buffer-list-new multi-isearch-buffer-list)
+ (multi-isearch-next-buffer-function multi-isearch-next-buffer-current-function)
+ (multi-isearch-current-buffer-new multi-isearch-current-buffer)
;;; Don't bind this. We want isearch-search, below, to set it.
;;; And the old value won't matter after that.
;;; (isearch-other-end isearch-other-end)
@@ -1313,7 +1318,10 @@ You can update the global isearch variables by setting new values to
isearch-message isearch-new-message
isearch-forward isearch-new-forward
isearch-regexp-function isearch-new-regexp-function
- isearch-case-fold-search isearch-new-case-fold)
+ isearch-case-fold-search isearch-new-case-fold
+ multi-isearch-current-buffer multi-isearch-current-buffer-new
+ multi-isearch-file-list multi-isearch-file-list-new
+ multi-isearch-buffer-list multi-isearch-buffer-list-new)
;; Restore the minibuffer message before moving point.
(funcall (or isearch-message-function #'isearch-message) nil t)