summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-05-15 15:47:29 +0100
committerAlan Pearce2013-05-15 15:47:29 +0100
commit3b317aac2eb86fd1480ce3fc9654605fac1ce0c3 (patch)
tree3aae512b403327d7eea4009a729da213a76395bb
parent885066458f2c92f1d5d301d318194ba4d307744d (diff)
downloaddotfiles-3b317aac2eb86fd1480ce3fc9654605fac1ce0c3.tar.lz
dotfiles-3b317aac2eb86fd1480ce3fc9654605fac1ce0c3.tar.zst
dotfiles-3b317aac2eb86fd1480ce3fc9654605fac1ce0c3.zip
Emacs: remove unnecessary :commands
-rw-r--r--emacs/init.el13
1 files changed, 2 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 3822f54..7c99e21 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