emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/reformatter e15598a0cc 40/81: Prefer `delete-trailing-whit


From: ELPA Syncer
Subject: [nongnu] elpa/reformatter e15598a0cc 40/81: Prefer `delete-trailing-whitespace` to the aggressive `whitespace-cleanup`
Date: Tue, 5 Sep 2023 04:03:36 -0400 (EDT)

branch: elpa/reformatter
commit e15598a0ccbf4866f4939cceaac897924ba7690f
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Prefer `delete-trailing-whitespace` to the aggressive `whitespace-cleanup`
    
    See https://github.com/psibi/dhall-mode/issues/23
---
 reformatter.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reformatter.el b/reformatter.el
index 60dfab824f..27ba95ed4f 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -192,7 +192,7 @@ DISPLAY-ERRORS, shows a buffer if the formatting fails."
                        (reformatter-replace-buffer-contents-from-file out-file)
                        ;; In future this might be made optional, or a 
user-provided
                        ;; ":after" form could be inserted for execution
-                       (whitespace-cleanup))
+                       (delete-trailing-whitespace))
                    (if display-errors
                        (display-buffer error-buffer)
                      (message ,(concat (symbol-name name) " failed: see %s") 
(buffer-name error-buffer)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]