Browse Source

Remove unneeded extra code

master
Taylor Bockman 4 years ago
parent
commit
36554d0c76
  1. 10
      dotfiles/emacs.d/init.el

10
dotfiles/emacs.d/init.el

@ -261,16 +261,6 @@ There are two things you can do about this warning:
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;; Automagically enable the right pyenv if a .python-version exists
(defun ssbb-pyenv-hook ()
"Automatically activates pyenv version if .python-version file exists."
(f-traverse-upwards
(lambda (path)
(let ((pyenv-version-path (f-expand ".python-version" path)))
(if (f-exists? pyenv-version-path)
(pyenv-mode-set (s-trim (f-read-text pyenv-version-path 'utf-8))))))))
;;--------------------------------------------------------------------------------------
;; Keybinds

Loading…
Cancel
Save