From bca0ff8b663c91676e78952234abc707cc655f5f Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 30 Jan 2019 15:21:29 +0900 Subject: [PATCH] Fix --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 9fc9f53..2ba71fa 100644 --- a/emacs.el +++ b/emacs.el @@ -2066,8 +2066,8 @@ initializing." "Flycheck parser to check if reformat is required." (with-temp-buffer (insert output) - (goto-char (point-min)) (save-match-data + (goto-char (point-min)) (when (re-search-forward "^would reformat .*$" nil t) (list (flycheck-error-new-at (point-min) @@ -2077,6 +2077,7 @@ initializing." "Black: would be reformatted" :buffer buffer :checker checker))) + (goto-char (point-min)) (when (re-search-forward "^error: cannot format .*$" nil t) (list (flycheck-error-new-at (point-min)