From 23ee6b5b4de22049e15f55d6f20a58b860fc9e91 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 7 Nov 2020 04:38:39 -0800 Subject: [PATCH] [#21] Bugfix for 'filepath option --- apheleia.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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