[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/rcirc-update 47b5dcd 2/5: Ensure that rcirc-buffer-alist has no
From: |
Philip Kaludercic |
Subject: |
feature/rcirc-update 47b5dcd 2/5: Ensure that rcirc-buffer-alist has no text properties |
Date: |
Tue, 27 Jul 2021 11:42:45 -0400 (EDT) |
branch: feature/rcirc-update
commit 47b5dcdcf5d7929a376337df0da770bc71916648
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Ensure that rcirc-buffer-alist has no text properties
* rcirc.el (rcirc-mode): Remove text properties from
rcirc-buffer-alist keys
---
lisp/net/rcirc.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index a4ed54f..3c7cced 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -1317,8 +1317,9 @@ This number is independent of the number of lines in the
buffer.")
(when target ; skip server buffer
(let ((buffer (current-buffer)))
(with-rcirc-process-buffer process
- (setq rcirc-buffer-alist (cons (cons target buffer)
- rcirc-buffer-alist))))
+ (push (cons (set-text-properties 0 (length target) nil target)
+ buffer)
+ rcirc-buffer-alist)))
(rcirc-update-short-buffer-names))
(add-hook 'completion-at-point-functions