FIX check if pyenv is present before setting keymap

This commit is contained in:
Nathan Dwarshuis 2021-03-13 21:53:59 -05:00
parent 0556d0fc3a
commit 61a0fb505d
1 changed files with 2 additions and 1 deletions

View File

@ -4583,7 +4583,8 @@ The only thing I like about elpy is the interactive shell
:END: :END:
This key collides with plenty of other stuff, notably scheduling in org mode This key collides with plenty of other stuff, notably scheduling in org mode
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(define-key pyenv-mode-map (kbd "C-c C-s") nil) (nd/when-bin "pyenv"
(define-key pyenv-mode-map (kbd "C-c C-s") nil))
#+END_SRC #+END_SRC
*** counsel *** counsel
:PROPERTIES: :PROPERTIES: