summaryrefslogtreecommitdiff
path: root/elchemy-splash.el
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2024-06-01 16:11:59 -0700
committerChristian Cunningham <cc@localhost>2024-06-01 16:11:59 -0700
commit5c1b2a5da3c11f8b2d946219b2afeac526e6627d (patch)
tree2c7ac2846dc0afd1092aded47be928cd10fbe7ef /elchemy-splash.el
parentc5a06aa3b3c6954b806db030900b89428fc05143 (diff)
Rename Config
Diffstat (limited to 'elchemy-splash.el')
-rw-r--r--elchemy-splash.el11
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)