aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJuri Linkov2015-06-23 01:59:23 +0300
committerJuri Linkov2015-06-23 01:59:23 +0300
commit1b1b6644c8cb27539ca99e97ef2f352f411c06d8 (patch)
tree41f6866248b1f2f28cb4b03df628778abaa22abe /lisp/replace.el
parentd010523177889867cf572ff48e8729b1503ea5a4 (diff)
downloademacs-1b1b6644c8cb27539ca99e97ef2f352f411c06d8.tar.gz
emacs-1b1b6644c8cb27539ca99e97ef2f352f411c06d8.zip
* lisp/replace.el (query-replace-read-from): Add separator to
the local binding of text-property-default-nonsticky. (Bug#20690)
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 1bf134302e4..74909efa380 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -156,6 +156,8 @@ wants to replace FROM with TO."
156 ;; unavailable while preparing to dump. 156 ;; unavailable while preparing to dump.
157 (custom-reevaluate-setting 'query-replace-from-to-separator) 157 (custom-reevaluate-setting 'query-replace-from-to-separator)
158 (let* ((history-add-new-input nil) 158 (let* ((history-add-new-input nil)
159 (text-property-default-nonsticky
160 (cons '(separator . t) text-property-default-nonsticky))
159 (separator 161 (separator
160 (when query-replace-from-to-separator 162 (when query-replace-from-to-separator
161 (propertize "\0" 163 (propertize "\0"