Commit 8256bd38 authored by Miles Bader's avatar Miles Bader
Browse files

Fix read-only prompt problem in isearch

`isearch-process-search-multibyte-characters' would signal an error if
minibuffer-prompt-properties contained a `read-only t' property.

parent 6e52f715
2007-03-07 Miles Bader <>
* international/isearch-x.el
(isearch-process-search-multibyte-characters): Strip
text-properties from PROMPT to avoid an error from read-string.
2007-03-07 Kim F. Storm <>
* complete.el (PC-bindings): Remap lisp-complete-symbol to
......@@ -103,6 +103,15 @@
(prompt (isearch-message-prefix))
(minibuffer-local-map isearch-minibuffer-local-map)
str junk-hist)
;; PROMPT contains text-properties from
;; `minibuffer-prompt-properties', and some of these can screw up
;; its use in `read-string' below (specifically, a read-only
;; property will cause it to signal an error), so strip them here;
;; read-string will add the same properties itself anyway.
(set-text-properties 0 (length prompt) nil prompt)
(if isearch-input-method-function
(let (;; Let input method work rather tersely.
(input-method-verbose-flag nil))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment