From 3b317aac2eb86fd1480ce3fc9654605fac1ce0c3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2013 15:47:29 +0100 Subject: Emacs: remove unnecessary :commands --- emacs/init.el | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 3822f549..7c99e21e 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -89,7 +89,7 @@ Values: `desktop', `server', `laptop'") ;;;; Style (use-package linum - :commands (linum-mode) + :defer t :config (setq linum-format " %4d ")) (use-package highlight-symbol @@ -234,7 +234,6 @@ Values: `desktop', `server', `laptop'") (use-package ibuffer :disabled t - :commands (ibuffer) :config (progn (setq ibuffer-saved-filter-groups (quote (("default" @@ -311,8 +310,7 @@ Values: `desktop', `server', `laptop'") completion-ignore-case t) (use-package smart-tab - :commands (global-smart-tab-mode) - :idle (global-smart-tab-mode) + :init (global-smart-tab-mode) :config (progn (nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function))) (diminish 'smart-tab-mode ""))) @@ -345,12 +343,7 @@ Values: `desktop', `server', `laptop'") (concat user-emacs-directory "info")) -(use-package eldoc - :commands (turn-on-eldoc-mode - eldoc-add-command)) - (use-package eldoc-context - :depends eldoc :bind (("C-c h" . rgr/toggle-context-help))) (use-package help+ @@ -510,8 +503,6 @@ Values: `desktop', `server', `laptop'") ("C-x C-b" . helm-mini))) (use-package ido - :commands (ido-mode - ido-find-file) :init (bind-key* "C-x C-f" #'ido-find-file) :bind (("C-x b" . ido-switch-buffer)) :config (progn -- cgit 1.4.1