diff options
author | Christian Cunningham <cc@localhost> | 2024-06-01 16:11:59 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2024-06-01 16:11:59 -0700 |
commit | 5c1b2a5da3c11f8b2d946219b2afeac526e6627d (patch) | |
tree | 2c7ac2846dc0afd1092aded47be928cd10fbe7ef /elchemy-splash.el | |
parent | c5a06aa3b3c6954b806db030900b89428fc05143 (diff) |
Rename Config
Diffstat (limited to 'elchemy-splash.el')
-rw-r--r-- | elchemy-splash.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/elchemy-splash.el b/elchemy-splash.el new file mode 100644 index 0000000..dbc8fd0 --- /dev/null +++ b/elchemy-splash.el @@ -0,0 +1,11 @@ +(switch-to-buffer "*splash*") +(with-current-buffer "*splash*" + (let* ((message "Welcome to nEmacs") + (message-len (length message))) + (insert + (concat + (make-string (/ (- (window-total-width) message-len) 2) ? ) + message + "\n")))) + +(provide 'elchemy-splash) |