mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* lisp/misearch.el (multi-isearch-push-state): Use proper closures
This commit is contained in:
parent
41efaa54c5
commit
abedac0909
@ -202,8 +202,9 @@ the initial buffer."
|
||||
"Save a function restoring the state of multiple buffers search.
|
||||
Save the current buffer to the additional state parameter in the
|
||||
search status stack."
|
||||
`(lambda (cmd)
|
||||
(multi-isearch-pop-state cmd ,(current-buffer))))
|
||||
(let ((buf (current-buffer)))
|
||||
(lambda (cmd)
|
||||
(multi-isearch-pop-state cmd buf))))
|
||||
|
||||
(defun multi-isearch-pop-state (_cmd buffer)
|
||||
"Restore the multiple buffers search state in BUFFER.
|
||||
|
Loading…
Reference in New Issue
Block a user