aboutsummaryrefslogtreecommitdiff
path: root/apheleia.el
diff options
context:
space:
mode:
Diffstat (limited to 'apheleia.el')
-rw-r--r--apheleia.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/apheleia.el b/apheleia.el
index b680811..ad432b4 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -413,7 +413,7 @@ modified from what is written to disk, then don't do anything."
project-dir)))))
(when (file-executable-p binary)
(setcar command binary)))))
- (when (memq 'file command)
+ (when (or (memq 'file command) (memq 'filepath command))
(setq command (mapcar (lambda (arg)
(if (memq arg '(file filepath))
(prog1 buffer-file-name