]> code.delx.au - gnu-emacs/commit
In M-%, avoid making buffer-local binding of text-property-default-nonsticky
authorAlan Mackenzie <acm@muc.de>
Tue, 29 Mar 2016 09:53:12 +0000 (09:53 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 29 Mar 2016 09:53:12 +0000 (09:53 +0000)
commitf99b51295b86770e4b16d4717c0e73049191c4c5
treedee440ec9cdc88d58bbec2425e323b0381976596
parent124c48619e2c68c497d9075e6e940142c174c77b
In M-%, avoid making buffer-local binding of text-property-default-nonsticky

This would happen when that variable already has a buffer local binding.  Such
a binding would not be seen by read-from-minibuffer.  This fixes bug #23127.

* lisp/replace.el (query-replace-read-from): Move the binding of
text-property-default-nonsticky to inside of a new with-current-buffer buffer
form with the minibuffer as argument.
lisp/replace.el