From 36554d0c76b3a455e1f9ceb89b97e7c6c7e14a8e Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Sat, 22 Aug 2020 21:31:52 -0700 Subject: [PATCH] Remove unneeded extra code --- dotfiles/emacs.d/init.el | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 3903f38..59194c9 100644 --- a/dotfiles/emacs.d/init.el +++ b/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