]> git.eshelyaron.com Git - emacs.git/commit
* lisp/replace.el (query-replace-from-to-separator): Move propertize
authorJuri Linkov <juri@linkov.net>
Mon, 13 Feb 2017 00:37:52 +0000 (02:37 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 13 Feb 2017 00:37:52 +0000 (02:37 +0200)
commitd8cca4d8c56a90ec9215d7bfb0b0edfa3a36ad4f
treefdca330b49a37630bf1325dba4a8932070ebcc48
parenta84da83c1abceb0750e78c48452903729105df09
* lisp/replace.el (query-replace-from-to-separator): Move propertize

and char-displayable-p test to query-replace-read-from.
Add choice nil to disable this feature.
(query-replace-read-from): Don't reevaluate custom setting.
Use char-displayable-p to test the first non-whitespace character
in query-replace-from-to-separator, use " -> " when fails.
Add prompt for the case when separator is nil but
query-replace-defaults is non-nil.
Remove unused test for regexp-flag.
Thanks to Thierry Volpiatto <thierry.volpiatto@gmail.com>
lisp/replace.el