random tweaks

This commit is contained in:
Ivan Malison 2016-05-18 17:12:13 -04:00
parent cdee6699c8
commit cad913aca3

View File

@ -661,8 +661,6 @@ buffer is not visiting a file."
(setq truename (concat truename "/"))) (setq truename (concat truename "/")))
(intern truename))) (intern truename)))
(im-index-get-one imalison:buffer-index (imalison:term-sym default-directory))
(defun imalison:build-term (directory) (defun imalison:build-term (directory)
(let* ((default-directory directory) (let* ((default-directory directory)
(program (getenv "SHELL")) (program (getenv "SHELL"))
@ -2364,7 +2362,8 @@ items follow a style that is consistent with other prog-modes."
(defun go-mode-get-go-path () (defun go-mode-get-go-path ()
(file-name-as-directory (car (s-split ":" (getenv "GOPATH"))))) (file-name-as-directory (car (s-split ":" (getenv "GOPATH")))))
(imalison:let-advise-around imalison:advise-normal-go-command (go-command "go")) (imalison:let-advise-around imalison:advise-normal-go-command
(go-command "go"))
(defun imalison:go-mode-hook () (defun imalison:go-mode-hook ()
(go-eldoc-setup) (go-eldoc-setup)