Skip to content

Commit

Permalink
ensure function exists during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Jul 21, 2020
1 parent 453ba9f commit 4a9f082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reformatter.el
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ DISPLAY-ERRORS, shows a buffer if the formatting fails."
;; disruption to marker positions and the
;; undo list
(narrow-to-region beg end)
(reformatter-replace-buffer-contents-from-file (funcall ,output-post-processor out-file)))
(reformatter-replace-buffer-contents-from-file (funcall #',output-post-processor out-file)))
;; if there is no errors the error-buffer shouldn't be kept open
(delete-windows-on error-buffer))
(if display-errors
Expand Down

0 comments on commit 4a9f082

Please sign in to comment.