summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index e1752044..c206112e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -228,6 +228,7 @@
       completion-ignore-case t)
 
 (req-package smart-tab
+  :commands (global-smart-tab-mode)
   :init (global-smart-tab-mode)
   :config (progn
             (nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function)))
@@ -429,7 +430,6 @@
 
 (req-package ws-butler
   :if window-system
-  :diminish highlight-changes-mode
   :config (ws-butler-global-mode 1))
 (if (daemonp)
     (add-hook #'before-make-frame-hook (lambda () (ws-butler-global-mode 1))))
@@ -880,10 +880,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
 (req-package go-mode
   :mode (("\\.go\\'" . go-mode)))
 
-(req-package oracle
-  :load-path ,(expand-file-name "src/code.google.com/p/go.tools/cmd/oracle/oracle.el" (getenv "GOPATH"))
-  :init (progn
-          (add-hook 'go-mode-hook #'go-oracle-mode)))
+(when (file-exists-p "src/code.google.com/p/go.tools/cmd/oracle/oracle.el")
+  (req-package oracle
+    :load-path ,(expand-file-name "src/code.google.com/p/go.tools/cmd/oracle/oracle.el" (getenv "GOPATH"))
+    :init (progn
+            (add-hook 'go-mode-hook #'go-oracle-mode))))
 
 (req-package company-go
   :require go-mode
@@ -1032,11 +1033,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (add-hook 'eshell-load-hook (lambda ()
                                           (bind-key "C-c C-l" #'helm-eshell-history eshell-mode-map)))
             (req-package em-smart
-              :init (progn
-                      (setq eshell-where-to-jump 'begin
-                            eshell-review-quick-commands nil
-                            eshell-smart-space-goes-to-end t)
-                      (eshell-smart-initialize)))))
+              :config (progn
+                        (setq eshell-where-to-jump 'begin
+                              eshell-review-quick-commands nil
+                              eshell-smart-space-goes-to-end t)
+                        (eshell-smart-initialize)))))
 
 (autoload #'eshell/cd "em-dirs")
 (defun eshell-goto-current-dir (&optional arg)