summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-11-29 16:49:58 +0100
committerAlan Pearce2015-11-29 16:49:58 +0100
commitf6c7ab84e4b275c7f9f920e29714963783c19b7f (patch)
treecf79e1870b59a226c9f91f4ea5165c510e81438a /tag-emacs
parentc3ffd21fdc6a4e51c7f05d796cd93aa3bcb351aa (diff)
downloadnixfiles-f6c7ab84e4b275c7f9f920e29714963783c19b7f.tar.lz
nixfiles-f6c7ab84e4b275c7f9f920e29714963783c19b7f.tar.zst
nixfiles-f6c7ab84e4b275c7f9f920e29714963783c19b7f.zip
Emacs: Optimise init
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 62c43fc3..fe3fed41 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -198,7 +198,8 @@ in the past.  I often find it useful when I remember writing something
 a particular way, but it changed later.
 
 #+BEGIN_SRC emacs-lisp
-  (use-package git-timemachine)
+  (use-package git-timemachine
+    :commands git-timemachine)
 #+END_SRC
 
 * Styles
@@ -1217,6 +1218,9 @@ don’t use it directly.
 
 #+BEGIN_SRC emacs-lisp
   (use-package smex
+    :commands (smex
+               smex-update
+               smex-initialize)
     :config (progn
               (setq smex-key-advice-ignore-menu-bar t
                     smex-auto-update nil)
@@ -1616,6 +1620,7 @@ Go has a few packages to inter-operate with other emacs packages.
 
 #+BEGIN_SRC emacs-lisp
   (use-package company-go
+    :commands company-go
     :config (progn
               (setq company-go-show-annotation t))
     :init (progn
@@ -1625,6 +1630,7 @@ Go has a few packages to inter-operate with other emacs packages.
             (add-hook 'go-mode-hook #'ap/company-go-setup)))
 
   (use-package go-eldoc
+    :commands go-eldoc-setup
     :init (progn
             (add-hook 'go-mode-hook #'go-eldoc-setup)))
 
@@ -1978,6 +1984,7 @@ good for embedded SQL though.
 #+BEGIN_SRC emacs-lisp
   (use-package mmm-auto
     :ensure mmm-mode
+    :defer 20
     :config (progn
               (mmm-add-classes
                '((php-sql