lazify mu4e, twittering mode.

This commit is contained in:
Ivan Malison 2014-11-30 18:47:56 -08:00
parent 26c3dfd1de
commit a2d00f7170
2 changed files with 12 additions and 2 deletions

13
init.el
View File

@ -384,6 +384,14 @@ buffer is not visiting a file."
:init :init
(add-hook 'prog-mode-hook (lambda () (auto-complete-mode t)))) (add-hook 'prog-mode-hook (lambda () (auto-complete-mode t))))
(use-package company
:ensure t
:commands company-mode
:config
(diminish 'company-mode)
:init
(add-hook 'prog-mode-hook (lambda () (company-mode t))))
(use-package expand-region (use-package expand-region
:ensure t :ensure t
:commands er/expand-region :commands er/expand-region
@ -546,7 +554,9 @@ buffer is not visiting a file."
:config :config
(epa-file-enable)) (epa-file-enable))
(use-package twittering-mode :ensure t) (use-package twittering-mode
:ensure t
:commands twittering-mode)
(use-package erc (use-package erc
:ensure t :ensure t
@ -567,7 +577,6 @@ buffer is not visiting a file."
(funcall notify-function "gtalk" message)) (funcall notify-function "gtalk" message))
(defun sauron:erc-notify (origin priority message &optional properties) (defun sauron:erc-notify (origin priority message &optional properties)
(let ((event (plist-get properties :event))) (let ((event (plist-get properties :event)))
(message "origin: %s, properties: %s" origin event)
(funcall notify-function "IRC" message))) (funcall notify-function "IRC" message)))
(defun sauron:mu4e-notify (origin priority message &optional properties) (defun sauron:mu4e-notify (origin priority message &optional properties)
nil) nil)

View File

@ -2,6 +2,7 @@
(add-to-list 'load-path (s-trim (shell-command-to-string "mu4e_directory"))) (add-to-list 'load-path (s-trim (shell-command-to-string "mu4e_directory")))
(use-package mu4e (use-package mu4e
:commands mu4e
:config :config
(progn (progn
(setq mu4e-compose-complete-only-after nil) (setq mu4e-compose-complete-only-after nil)