aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org13
1 files changed, 8 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index d2116e3..7248cfa 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -257,13 +257,16 @@ of code using =#+RESULTS=) in an ephemeral buffer at startup!
(setq
inhibit-startup-screen t
initial-major-mode 'org-mode
- initial-scratch-message (format "#+title: Scratch buffer
+ initial-scratch-message ""
+ ring-bell-function 'ignore)
+ (add-hook 'after-init-hook (proc
+ (with-current-buffer "*scratch*"
+ (goto-char (point-max))
+ (insert (format "#+title: Scratch buffer
,#+author: %s
,#+description: Emacs v%s
-
-Booted in %s!
-" user-full-name emacs-version (emacs-init-time))
- ring-bell-function 'ignore))
+Booted in %s
+" user-full-name emacs-version (emacs-init-time)))))))
#+end_src
** Blinking cursor
Turn off blinking-cursor-mode as [[*Hl-line][hl-line]] is better.