Add config for fortune-cookie
This commit is contained in:
parent
936ef53c7f
commit
0e3fa97736
@ -625,6 +625,16 @@
|
||||
(interactive)
|
||||
(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
|
||||
(add-to-list 'safe-local-eval-forms '(outline-hide-body))
|
||||
;; Local Variables:
|
||||
|
Loading…
Reference in New Issue
Block a user