From ed850a8ac2d6b705f1b6e9469fa6d596b8c80732 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 15 Jan 2022 21:39:15 +0800 Subject: dashboard: disable undo in the dashboard buffer --- dashboard.el | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-18-g5258