Mercurial > emacs
comparison lisp/iswitchb.el @ 56868:bec9907cc422
* isearch.el (isearch-wrap-function)
(isearch-push-state-function): New defvars.
(isearch-pop-fun-state): New defsubst.
(isearch-top-state): Call function saved in `isearch-pop-fun-state'.
(isearch-push-state): Set the result of calling
`isearch-push-state-function' to the `isearch-pop-fun-state' field.
(isearch-cancel): Call function saved in `isearch-pop-fun-state' to
restore the mode-specific starting point of terminated search.
(isearch-abort): Call `isearch-cancel' instead of its duplicated code.
(isearch-repeat): Call `isearch-wrap-function' if defined.
(isearch-message-prefix): Don't add prefix "over" to the message
for wrapped search if `isearch-wrap-function' is defined.
(isearch-search): Call function saved in `isearch-pop-fun-state' to
restore the mode-specific starting point of failed search.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 01 Sep 2004 20:32:13 +0000 |
parents | 5ea587a67aae |
children | f988a6529f1f d8411455de48 |
comparison
equal
deleted
inserted
replaced
56867:16f3ec82330a | 56868:bec9907cc422 |
---|