diff options
author | JSDurand <mmemmew@gmail.com> | 2023-07-20 22:32:49 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2023-07-20 22:32:49 +0800 |
commit | 3cdfc7c2c7d25df9824bebf75ba1271ce3995789 (patch) | |
tree | edce4a7dbeb85aed32c6deb5ecb55ff8f9307a03 | |
parent | 12c9b43c6606a90e2891d7da12d0d48bccb4aeeb (diff) |
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
-rw-r--r-- | dashboard.el | 1 |
1 files changed, 1 insertions, 0 deletions
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) |