]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove removal of text properties from rcirc-buffer-alist keys
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 27 Jul 2021 18:01:49 +0000 (20:01 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Tue, 27 Jul 2021 18:01:49 +0000 (20:01 +0200)
* rcirc.el (rcirc-mode): Remove set-text-properties call

lisp/net/rcirc.el

index 559f579c0a15d215c80105aee6a98379fe1a0028..b850ac00648b6d473134b1dc15e2022aff8c86d8 100644 (file)
@@ -1318,9 +1318,7 @@ PROCESS is the process object used for communication.
   (when target                         ; skip server buffer
     (let ((buffer (current-buffer)))
       (with-rcirc-process-buffer process
-        (push (cons (set-text-properties 0 (length target) nil target)
-                    buffer)
-              rcirc-buffer-alist)))
+        (push (cons target buffer) rcirc-buffer-alist)))
     (rcirc-update-short-buffer-names))
 
   (add-hook 'completion-at-point-functions