diff options
author | F. Jason Park <jp@neverwas.me> | 2022-09-02 21:57:57 -0700 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2022-09-19 17:54:46 -0700 |
commit | 7df5b4deb8b13a25e0708bb5339540cea0683e2e (patch) | |
tree | 7726d6193ff76ef9676f8dbec83ba8ae9ca6a83c /lisp/erc/erc.el | |
parent | e98465e5418497a925e795c358231a4d70d6e5ff (diff) | |
download | emacs-7df5b4deb8b13a25e0708bb5339540cea0683e2e.tar.gz emacs-7df5b4deb8b13a25e0708bb5339540cea0683e2e.tar.bz2 emacs-7df5b4deb8b13a25e0708bb5339540cea0683e2e.zip |
Don't record undo history in erc-protocol buffers
* lisp/erc/erc.el (erc-log-irc-protocol): Disable undo history.
Diffstat (limited to 'lisp/erc/erc.el')
-rw-r--r-- | lisp/erc/erc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 151d75e7ce1..84c58503617 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -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 |