mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 17:11:40 -05:00
Prevent infinite recurrence
This commit is contained in:
parent
80bf0874bc
commit
405f71143c
1 changed files with 3 additions and 1 deletions
|
@ -552,7 +552,9 @@ changes), CALLBACK, if provided, is invoked with no arguments."
|
|||
command
|
||||
(lambda ()
|
||||
(ignore-errors
|
||||
(apheleia--write-file-silently buffer-file-name))))))
|
||||
(let ((after-save-hook
|
||||
(remq #'apheleia--format-after-save after-save-hook)))
|
||||
(apheleia--write-file-silently buffer-file-name)))))))
|
||||
|
||||
;; Use `progn' to force the entire minor mode definition to be copied
|
||||
;; into the autoloads file, so that the minor mode can be enabled
|
||||
|
|
Loading…
Add table
Reference in a new issue