Don't record undo history in erc-protocol buffers

* lisp/erc/erc.el (erc-log-irc-protocol): Disable undo history.
This commit is contained in:
F. Jason Park 2022-09-02 21:57:57 -07:00
parent e98465e541
commit 7df5b4deb8

View file

@ -2571,7 +2571,8 @@ workaround."
(with-current-buffer (get-buffer-create "*erc-protocol*")
(save-excursion
(goto-char (point-max))
(let ((inhibit-read-only t))
(let ((buffer-undo-list t)
(inhibit-read-only t))
(insert (if outbound
(concat ts esid " >> " string)
;; Cope with multi-line messages