Mercurial > emacs
diff nextstep/Cocoa/Emacs.xcodeproj/project.pbxproj @ 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 | 3ad71a3c2535 |
children |