]> code.delx.au - gnu-emacs/commit
* lisp/isearch.el: No visual feedback for default search mode
authorArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 26 Oct 2015 00:51:02 +0000 (00:51 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 26 Oct 2015 00:51:02 +0000 (00:51 +0000)
commit6b5fdca71696a513a9dcd24a12f9de96788a523a
tree9161a2b32eb9e03d3e0c0d52ed1f2f524217a064
parent207f235e33ce9226d4004b47ccef89b3ea3c7fdb
* lisp/isearch.el: No visual feedback for default search mode

During an isearch where character-folding is the default, we don't
want to take up minibuffer space just to tell the user that
"Char-fold " is on.  The same goes for other modes, if the user
changes the default.  In contrast, if the user toggles OFF the
default mode, they should see "Literal", to distinguish it from
the default mode.

(isearch--describe-regexp-mode): Return "" if describing the
default mode, and return "literal " if describing a plain search
and it is not default.
lisp/isearch.el