+2007-03-07 Miles Bader <miles@gnu.org>
+
+ * 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 <storm@cua.dk>
* complete.el (PC-bindings): Remap lisp-complete-symbol to
(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))