projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ccd712
)
* lisp/info.el (Info-isearch-push-state): Use proper closures
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 18 May 2021 22:13:28 +0000
(18:13 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 18 May 2021 22:13:28 +0000
(18:13 -0400)
lisp/info.el
patch
|
blob
|
history
diff --git
a/lisp/info.el
b/lisp/info.el
index 2757ed578265266a41afbf250f50b92380b95c6d..cdf339ff6fb9901ea87a373218026799887a84ec 100644
(file)
--- a/
lisp/info.el
+++ b/
lisp/info.el
@@
-2148,8
+2148,10
@@
If DIRECTION is `backward', search in the reverse direction."
(goto-char (if isearch-forward (point-min) (point-max)))))
(defun Info-isearch-push-state ()
- `(lambda (cmd)
- (Info-isearch-pop-state cmd ',Info-current-file ',Info-current-node)))
+ (let ((file Info-current-file)
+ (node Info-current-node))
+ (lambda (cmd)
+ (Info-isearch-pop-state cmd file node))))
(defun Info-isearch-pop-state (_cmd file node)
(or (and (equal Info-current-file file)