projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98465e
)
Don't record undo history in erc-protocol buffers
author
F. Jason Park
<jp@neverwas.me>
Sat, 3 Sep 2022 04:57:57 +0000
(21:57 -0700)
committer
F. Jason Park
<jp@neverwas.me>
Tue, 20 Sep 2022 00:54:46 +0000
(17:54 -0700)
* lisp/erc/erc.el (erc-log-irc-protocol): Disable undo history.
lisp/erc/erc.el
patch
|
blob
|
history
diff --git
a/lisp/erc/erc.el
b/lisp/erc/erc.el
index 151d75e7ce17c5641c21a7c3edf57bd5513286b3..84c58503617667e4b8123557891f13d4e71eed77 100644
(file)
--- 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