1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-10 01:34:36 -08:00

Ensure that rcirc-buffer-alist has no text properties

* rcirc.el (rcirc-mode): Remove text properties from
  rcirc-buffer-alist keys
This commit is contained in:
Philip Kaludercic 2021-07-24 16:57:00 +02:00
parent 1967b9c474
commit 47b5dcdcf5
No known key found for this signature in database
GPG key ID: 181F5B95AE30B336

View file

@ -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