improve startup time
This commit is contained in:
@@ -184,18 +184,6 @@ already exists in the home directory."
|
||||
(setq desktop-file-modtime (nth 5 (file-attributes (desktop-full-file-name))))))
|
||||
)
|
||||
)
|
||||
;; (add-hook 'after-init-hook
|
||||
;; 'desktop-settings-setup
|
||||
;; (lambda ()
|
||||
;; ;; No splash screen
|
||||
;; (setq inhibit-startup-screen t)
|
||||
|
||||
;; ;; If the *scratch* buffer is the current one, then create a new
|
||||
;; ;; empty untitled buffer to hide *scratch*
|
||||
;; (if (string= (buffer-name) "*scratch*")
|
||||
;; (new-empty-buffer))
|
||||
;; )
|
||||
;; t) ;; append this hook to the tail
|
||||
|
||||
|
||||
;; auto revert buffer
|
||||
@@ -236,17 +224,6 @@ with a drive letter and a colon."))
|
||||
;; require final newlines in files when they are saved
|
||||
(setq require-final-newline t)
|
||||
|
||||
;; 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)
|
||||
(setq-default truncate-lines t)
|
||||
|
||||
Reference in New Issue
Block a user