From e0913c23d6fa155264078ec2861ff9b7d987f9d5 Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Sun, 15 Jun 2025 17:44:24 +0200 Subject: [PATCH] add my-help button and change scratch buffer to fundamental-mode --- settings/general-settings.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/settings/general-settings.el b/settings/general-settings.el index bbad6e74..fc9ec361 100644 --- a/settings/general-settings.el +++ b/settings/general-settings.el @@ -238,6 +238,14 @@ with a drive letter and a colon.")) ;; don't show the startup screen (setq inhibit-startup-screen t) +(use-package startup + :defer t + :init + (setq initial-major-mode 'fundamental-mode) + (setq initial-scratch-message "# This buffer is for text that is not saved. + +")) + ;; each line of text gets one line on the screen (i.e., text will run ;; off the right instead of wrapping around onto a new line) @@ -761,7 +769,8 @@ Version 2016-07-13" (easy-menu-add-item nil () my-menu ;; add empty my menu to menu-bar ;; "Edit" ;; before Edit - ) + ) + (easy-menu-add-item nil '("My") '["Help" my-help :help "my-help"]) (easy-menu-add-item nil '("My") my-major-menu) ;; add submenu to my menu (easy-menu-add-item nil '("My") my-lang-menu) (easy-menu-add-item nil '("My") my-minor-menu)