yasnippet and add signature in mu4e.

This commit is contained in:
Ivan Malison 2014-12-11 16:14:58 -08:00
parent 47b96edb91
commit 8167fa80ad

20
init.el
View File

@ -352,6 +352,15 @@ The current directory is assumed to be the project's root otherwise."
:ensure t :ensure t
:config (exec-path-from-shell-initialize)) :config (exec-path-from-shell-initialize))
(use-package yasnippet
:ensure t
:config
(progn
(yas-global-mode)
(diminish 'yas-minor-mode)
(setq yas-prompt-functions (cons 'yas-ido-prompt (cl-delete 'yas-ido-prompt yas-prompt-functions)))))
(use-package tramp (use-package tramp
:commands tramp :commands tramp
:config :config
@ -765,12 +774,11 @@ The current directory is assumed to be the project's root otherwise."
(add-hook 'mu4e-compose-mode-hook (add-hook 'mu4e-compose-mode-hook
(defun my-do-compose-stuff () (flyspell-mode))) (defun my-do-compose-stuff () (flyspell-mode)))
;; ;; something about ourselves (setq
;; (setq mu4e-compose-signature
;; mu4e-compose-signature (concat
;; (concat "Ivan Malison\n"
;; "Foo X. Bar\n" "https://github.com/IvanMalison"))
;; "http://www.example.com\n"))
(require 'smtpmail) (require 'smtpmail)