aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadon Rosborough <radon.neon@gmail.com>2020-11-07 04:38:39 -0800
committerRadon Rosborough <radon.neon@gmail.com>2020-11-07 04:38:39 -0800
commit23ee6b5b4de22049e15f55d6f20a58b860fc9e91 (patch)
treee0c6c6d716b2c102085affa9f7c475a00e3ba9a5
parent3be4b486dc09df375fe359e3c5a933c53252a146 (diff)
[#21] Bugfix for 'filepath option
-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