Fix iswitchb highlighting: don't mutate buffer name
* lisp/obsolete/iswitchb.el (iswitchb-completions): Copy buffer name before applying face
This commit is contained in:
parent
6b183f85e0
commit
05e8b4392b
1 changed files with 1 additions and 1 deletions
|
@ -1247,7 +1247,7 @@ Modified from `icomplete-completions'."
|
|||
|
||||
(if (and iswitchb-use-faces comps)
|
||||
(progn
|
||||
(setq first (car comps))
|
||||
(setq first (copy-sequence (car comps)))
|
||||
(setq first (format "%s" first))
|
||||
(put-text-property 0 (length first) 'face
|
||||
(if (= (length comps) 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue