]> code.delx.au - gnu-emacs/commit
Fix Isearch prompt when invoked with an argument
authorKaushal Modi <kaushal.modi@gmail.com>
Mon, 14 Mar 2016 18:15:17 +0000 (20:15 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 14 Mar 2016 18:15:17 +0000 (20:15 +0200)
commit0ce37eac45f8b1279e89e854f71bb3f35fd43d29
tree9a0ca1e990ab544c9b9ccf561defd4a8afb364db
parentf3033d4d028c1cd7c36ce9e9aa82f4a6c33f57c7
Fix Isearch prompt when invoked with an argument

* lisp/isearch.el (isearch--describe-regexp-mode): With
`search-default-mode' set to nil, if user does C-u C-s, the minibuffer
now displays "Regexp I-search: " again.  But if the user has set
`search-default-mode' to t, and then does C-s, the minibuffer now
displays "I-search: " because the default search mode is now regexp
mode.  Comments have been added to explain the priority of conditions
in the `cond' form.  (Bug#22991)
lisp/isearch.el