Package: elpa-elpy Version: 1.33.0-1 Severity: normal Tags: patch elpy-format-code (ctrl-c ctrl-r f) gives a fatal error in version 1.33.0
Upstream has merged a fix: https://github.com/jorgenschaefer/elpy/pull/1763 https://github.com/jorgenschaefer/elpy/commit/262621b7a3a1b47f1e9d2edd268919e33f5f5a59?diff=unified
commit 262621b7a3a1b47f1e9d2edd268919e33f5f5a59 Author: Romain Leroux <leroux...@users.noreply.github.com> Date: Tue Mar 24 03:22:14 2020 +0100 Fix a fatal typo in elpy-format-code diff --git a/elpy.el b/elpy.el index f2631f5..dc8aa1f 100644 --- a/elpy.el +++ b/elpy.el @@ -2279,10 +2279,10 @@ prefix argument is given, prompt for a symbol from the user." (when (interactive-p) (message "Autoformatting code with yapf.")) (elpy-yapf-fix-code)) ((elpy-config--package-available-p "autopep8") - ((when (interactive-p) message "Autoformatting code with autopep8.")) + (when (interactive-p) (message "Autoformatting code with autopep8.")) (elpy-autopep8-fix-code)) ((elpy-config--package-available-p "black") - ((when (interactive-p) message "Autoformatting code with black.")) + (when (interactive-p) (message "Autoformatting code with black.")) (elpy-black-fix-code)) (t (message "Install yapf/autopep8 to format code."))))