[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 05e8b43: Fix iswitchb highlighting: don't mutate bu
From: |
Daniel Colascione |
Subject: |
[Emacs-diffs] master 05e8b43: Fix iswitchb highlighting: don't mutate buffer name |
Date: |
Thu, 8 Feb 2018 21:47:15 -0500 (EST) |
branch: master
commit 05e8b4392be7fb368dcf4e4a19f75f94b323028d
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>
Fix iswitchb highlighting: don't mutate buffer name
* lisp/obsolete/iswitchb.el (iswitchb-completions): Copy buffer name
before applying face
---
lisp/obsolete/iswitchb.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el
index ec92b96..55e81d0 100644
--- a/lisp/obsolete/iswitchb.el
+++ b/lisp/obsolete/iswitchb.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 05e8b43: Fix iswitchb highlighting: don't mutate buffer name,
Daniel Colascione <=