]> git.eshelyaron.com Git - emacs.git/commit
Share code between `isearch-message' and `isearch-string' in `isearch-fail-pos'.
authorJuri Linkov <juri@jurta.org>
Wed, 14 Sep 2011 16:07:42 +0000 (19:07 +0300)
committerJuri Linkov <juri@jurta.org>
Wed, 14 Sep 2011 16:07:42 +0000 (19:07 +0300)
commit727799761264b1fc990ea19b2aed1aab3a14df11
tree6041399af920d7ad247a8fe2047ab5deb24a01d4
parentd2eea5b594ddfb4f5d99c1dcf710d279ae923a2c
Share code between `isearch-message' and `isearch-string' in `isearch-fail-pos'.
http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00169.html

* lisp/isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
(isearch-edit-string): Use length of `isearch-string' when
`isearch-fail-pos' returns nil.
(isearch-message): Remove duplicate code and call
`isearch-fail-pos' with arg `t'.
lisp/ChangeLog
lisp/isearch.el