diff options
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) |