Commit 3843de2466bb

Vincent Demeester <vincent@sbr.pm>
2020-02-24 18:09:57
Update init.el with some initial/inhibit option ๐Ÿ˜‡
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 91fa023
config/setup-style.el
@@ -47,7 +47,6 @@
   :custom
   (use-file-dialog nil)
   (use-dialog-box nil)
-  (inhibit-splash-screen t)
   (echo-keystrokes 0.1) ; Faster echo keystrokes
   (line-number-display-limit-width 10000) ;; Avoid showing ?? in the mode line when we have long lines.
   (display-time-world-list '(("Europe/London" "London")
emacs.org
@@ -238,13 +238,22 @@
 (setq inhibit-default-init t)           ; Disable the site default settings
 #+end_src
 
-One last piece to the puzzle is the default mode. Setting it to fundamental-mode means we
-won't load any /heavy/ mode at startup (like =org-mode=).
+We also want to inhibit some initial default start messages and screen. The default screen
+will be as bare as possible.
 
 #+begin_src emacs-lisp :tangle init.el
-(setq initial-major-mode 'fundamental-mode)
+(setq inhibit-startup-message t
+      inhibit-startup-screen t)
 #+end_src
 
+One last piece to the puzzle is the default mode. Setting it to fundamental-mode means we
+won't load any /heavy/ mode at startup (like =org-mode=). We also want this scratch buffer
+to be empty, so let's set it as well
+
+#+begin_src emacs-lisp :tangle init.el
+(setq initial-major-mode 'fundamental-mode
+      initial-scratch-message nil)
+#+end_src
 
 *** Unicode all the way
 :PROPERTIES:
@@ -262,7 +271,6 @@
 (set-terminal-coding-system 'utf-8)
 #+end_src
 
-
 *** Package management with =use-package=
 :PROPERTIES:
 :CUSTOM_ID: h:112262a1-dd4d-4a50-a9e2-85b36bbbd95b
init.el
@@ -12,7 +12,11 @@
 
 (setq inhibit-default-init t)           ; Disable the site default settings
 
-(setq initial-major-mode 'fundamental-mode)
+(setq inhibit-startup-message t
+      inhibit-startup-screen t)
+
+(setq initial-major-mode 'fundamental-mode
+      initial-scratch-message nil)
 
 (prefer-coding-system 'utf-8)
 (set-default-coding-systems 'utf-8)