Mercurial > emacs
comparison autogen.sh @ 106478:1d70a4746fc4
Correctly restore original Isearch point. (Bug#4994)
* isearch.el (isearch-mode): Move `isearch-push-state' after
`(run-hooks 'isearch-mode-hook)'.
(isearch-cancel): When `isearch-push-state-function' is defined,
let-bind `isearch-cmds' to the first state (the last element of
`isearch-cmds') and call `isearch-top-state' (it calls pop-state
function and restores the original point). Otherwise, move point
to `isearch-opoint'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 07 Dec 2009 17:30:01 +0000 |
parents | 156cffa89b1b |
children | 4c90ffeb71c5 7b9e6639caa3 |
comparison
equal
deleted
inserted
replaced
106477:51b191bf2e2e | 106478:1d70a4746fc4 |
---|