Last active
August 29, 2015 14:02
-
-
Save dsjt/79a273b1a609f08f019d to your computer and use it in GitHub Desktop.
elisp: aa^~~ kokorogapyonpyon surunjaa^~~~~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; insert 香風チノ in *splash* buffer | |
(defun open-chino-buffer() | |
(interactive) | |
(switch-to-buffer (get-buffer-create "*splash*")) | |
(setq fancy-splash-image "address") | |
(setq img (create-image fancy-splash-image)) | |
(let* ((ww (window-width (selected-window))) | |
(image-width (car (image-size img)))) | |
(dotimes (i (/ (- ww image-width) 2) 1) | |
(insert " ")) | |
(insert-image img) | |
(insert "\n") | |
(dotimes (i (/ (- ww 8) 2) 1) | |
(insert " ")) | |
(insert "香風チノ\n"))) | |
;; (add-hook 'after-init-hook 'open-chino-buffer) | |
(defalias 'pyonpyon 'open-chino-buffer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment