diff --git a/init-package/init-diminish.el b/init-package/init-diminish.el new file mode 100644 index 000000000..ba41244e1 --- /dev/null +++ b/init-package/init-diminish.el @@ -0,0 +1,27 @@ +(require 'diminish) +(eval-after-load "auto-complete" + '(diminish 'auto-complete-mode "ac")) + +(eval-after-load "autopair" + '(diminish 'autopair-mode)) + +(eval-after-load "eproject" + '(diminish 'eproject-mode "prj")) + +(eval-after-load "paredit" + '(diminish 'paredit-mode "pedit")) + +(eval-after-load "rainbow-mode" + '(diminish 'rainbow-mode)) + +(eval-after-load "undo-tree" + '(diminish 'undo-tree-mode)) + +(eval-after-load "yasnippet" + '(diminish 'yas-minor-mode)) + +;; ----------------------------------------------------------------------------- + +(add-hook 'emacs-lisp-mode-hook + (lambda () + (setq mode-name "elisp"))) diff --git a/packages.el b/packages.el index 047aa735d..a24fdab2f 100644 --- a/packages.el +++ b/packages.el @@ -33,6 +33,8 @@ solarized-theme surround yasnippet + + diminish )) ;;; install missing packages