Skip to content

Commit

Permalink
Fix a fatal typo in elpy-format-code
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxrgd committed Mar 24, 2020
1 parent b69ae76 commit 262621b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elpy.el
Expand Up @@ -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."))))
Expand Down

0 comments on commit 262621b

Please sign in to comment.