about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--init-eshell.el1
-rw-r--r--init-modes.el4
2 files changed, 2 insertions, 3 deletions
diff --git a/init-eshell.el b/init-eshell.el
index 77f99e551a14..66ee9513151f 100644
--- a/init-eshell.el
+++ b/init-eshell.el
@@ -13,6 +13,7 @@
   "Sets up EShell when it is loaded"
 
   (setq eshell-path-env (concat
+                         "/Applications/Postgres.app/Contents/MacOS/bin:"
 			 "/usr/local/bin:"
 			 (concat home-dir "/bin:")
 			 "/usr/local/share/python:"
diff --git a/init-modes.el b/init-modes.el
index 84b985ba2c5e..d24ee7b0c8f6 100644
--- a/init-modes.el
+++ b/init-modes.el
@@ -25,13 +25,11 @@
 ;; Configure nrepl (Clojure REPL) and clojure-mode
 
 ;; Use ac-nrepl for completion
-(add-hook 'nrepl-mode-hook 'ac-nrep-setup)
+(add-hook 'nrepl-mode-hook 'ac-nrepl-setup)
 (add-hook 'nrepl-interaction-mode-hook 'ac-nrepl-setup)
 (eval-after-load "auto-complete"
    '(add-to-list 'ac-modes 'nrepl-mode))
 
-(add-hook 'nrepl-mode-hook 'set-auto-complete-as-completion-at-point-function)
-(add-hook 'nrepl-interaction-mode-hook 'set-auto-complete-as-completion-at-point-function)
 (define-key nrepl-interaction-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)
 
 ;; Paredit in clojure