summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-15 21:39:15 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-15 21:39:15 +0800
commited850a8ac2d6b705f1b6e9469fa6d596b8c80732 (patch)
tree0dcf2f5270cec844d70fb71abbc8bd5f65cb480a
parent11988399e4a8aa496d230880e3f66a74e873402e (diff)
dashboard: disable undo in the dashboard buffer
-rw-r--r--dashboard.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard.el b/dashboard.el
index 6d660fd..09fa4ed 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -38,6 +38,7 @@ If FORCE is non-nil, re-gerenate the dashboard buffer."
(switch-to-buffer dashboard))
(t
(with-current-buffer dashboard
+ (setq buffer-undo-list t)
(erase-buffer)
(cond
((display-graphic-p)