From 61a0fb505d512c40b084568c7d3678738d33cb0d Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 13 Mar 2021 21:53:59 -0500 Subject: [PATCH] FIX check if pyenv is present before setting keymap --- etc/conf.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/conf.org b/etc/conf.org index f4e8d11..67d2726 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -4583,7 +4583,8 @@ The only thing I like about elpy is the interactive shell :END: This key collides with plenty of other stuff, notably scheduling in org mode #+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 *** counsel :PROPERTIES: