From 3cdfc7c2c7d25df9824bebf75ba1271ce3995789 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 20 Jul 2023 22:32:49 +0800 Subject: dashboard: set the dashboard buffer to be non-modified * dashboard.el (dashboard): Set the dashboard buffer as not modified. This is a minor issue, but I like it. :D --- dashboard.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard.el b/dashboard.el index ebbefde..9cca322 100644 --- a/dashboard.el +++ b/dashboard.el @@ -57,6 +57,7 @@ If FORCE is non-nil, re-gerenate the dashboard buffer." dashboard-cat-text))) (newline 5) (insert (center-string-in-width "Dashboard" (window-body-width))) + (set-buffer-modified-p nil) (read-only-mode 1) (set 'mode-line-format '("%e" (:eval (modeline-format-dashboard)))) (set 'default-directory user-emacs-directory) -- cgit v1.2.3-18-g5258