Set up autoload for python-pytest--current-defun

This commit is contained in:
Jeremy Dormitzer 2020-02-19 09:31:01 -05:00
parent a4ad4ad6e3
commit e24dc95003

View File

@ -2673,7 +2673,8 @@ And support pyenv (NOT pyvenv) to change Python versions:
[[https://github.com/wbolster/emacs-python-pytest][python-pytest.el]] integrates Pytest with Emacs: [[https://github.com/wbolster/emacs-python-pytest][python-pytest.el]] integrates Pytest with Emacs:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package python-pytest (use-package python-pytest
:commands (python-pytest-popup) :commands (python-pytest-popup
python-pytest--current-defun)
:general :general
(python-mode-map "C-c t p" #'python-pytest-popup)) (python-mode-map "C-c t p" #'python-pytest-popup))
#+END_SRC #+END_SRC