Add config for fortune-cookie

This commit is contained in:
Adam Goldsmith 2018-02-20 15:45:35 -05:00
parent 936ef53c7f
commit 0e3fa97736

View File

@ -625,6 +625,16 @@
(interactive) (interactive)
(shell-command "ssh ag 'mbsync inboxes && afew -tn' && muchsync ag"))) (shell-command "ssh ag 'mbsync inboxes && afew -tn' && muchsync ag")))
(use-package fortune-cookie
:config
; change message every time scratch buffer created
(setq initial-major-mode
(lambda ()
(setq initial-scratch-message
(concat (fortune-cookie-comment
(fortune-cookie) fortune-cookie-comment-start) "\n\n"))
(lisp-interaction-mode))))
;;; Local Variables ;;; Local Variables
(add-to-list 'safe-local-eval-forms '(outline-hide-body)) (add-to-list 'safe-local-eval-forms '(outline-hide-body))
;; Local Variables: ;; Local Variables: