Commit 8a30a619 authored by Juri Linkov's avatar Juri Linkov
Browse files

(mouse-choose-completion): Replace `buffer-substring' with

`buffer-substring-no-properties' to remove common substring highlighting.
parent 94807253
......@@ -2230,7 +2230,7 @@ and selects that window."
(setq beg (previous-single-property-change beg 'mouse-face))
(setq end (or (next-single-property-change end 'mouse-face)
(point-max)))
(setq choice (buffer-substring beg end)))))
(setq choice (buffer-substring-no-properties beg end)))))
(let ((owindow (selected-window)))
(select-window (posn-window (event-start event)))
(if (and (one-window-p t 'selected-frame)
......
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