Commit 489e66f54c52

Vincent Demeester <vincent@sbr.pm>
2019-01-12 18:18:05
vde-org: start scratch as org-mode ๐Ÿ“™
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 56ba43a
Changed files (2)
lisp/vde-buffers.el
@@ -143,9 +143,6 @@
                     (unless (eq ibuffer-sorting-mode 'filename/process)
                       (ibuffer-do-sort-by-filename/process)))))
 
-;; Use `emacs-lisp-mode' instead of `lisp-interaction-mode' for scratch buffer
-(setq initial-major-mode 'emacs-lisp-mode)
-
 (provide 'vde-buffers)
 
 ;; Local Variables:
lisp/vde-org.el
@@ -178,6 +178,14 @@ like this : [[pt:REGEXP:FOLDER]]"
   :config
   (setq org-bullets-bullet-list '("โ—‰" "โ—‹" "โšซ")))
 
+;; Use `org-mode' instead of `lisp-interaction-mode' for scratch buffer
+(setq
+ inhibit-startup-message t            ; don't show the startup message
+ inhibit-startup-screen t             ; โ€ฆ or screen
+ initial-scratch-message nil          ; empty scratch buffer
+ initial-major-mode 'org-mode  ; org-mode by default
+ )
+
 (provide 'vde-org)
 
 ;; Local Variables: