Skip to content

Commit 6cdc19c

Browse files
authored
Disable undo in lsp-log buffer. (#2376)
1 parent 7a1f333 commit 6cdc19c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lsp-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,7 @@ FORMAT and ARGS i the same as for `message'."
12121212
(unless log-buffer
12131213
(setq log-buffer (get-buffer-create "*lsp-log*"))
12141214
(with-current-buffer log-buffer
1215+
(buffer-disable-undo)
12151216
(view-mode 1)
12161217
(set (make-local-variable 'lsp--log-lines) 0)))
12171218
(with-current-buffer log-buffer

0 commit comments

Comments
 (0)