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

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

[nongnu] elpa/reformatter e8f70b20ca 45/81: No longer forcibly call dele


From: ELPA Syncer
Subject: [nongnu] elpa/reformatter e8f70b20ca 45/81: No longer forcibly call delete-trailing-whitespace
Date: Tue, 5 Sep 2023 04:03:36 -0400 (EDT)

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

    No longer forcibly call delete-trailing-whitespace
    
    This can be as time-consuming operation, and doesn't really belong here
    
    See 
https://github.com/purcell/reformatter.el/commit/e15598a0ccbf4866f4939cceaac897924ba7690f
---
 reformatter.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/reformatter.el b/reformatter.el
index 5b85028836..acf2aa9fb2 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -188,10 +188,7 @@ DISPLAY-ERRORS, shows a buffer if the formatting fails."
                        ;; disruption to marker positions and the
                        ;; undo list
                        (narrow-to-region beg end)
-                       (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
-                       (delete-trailing-whitespace))
+                       (reformatter-replace-buffer-contents-from-file 
out-file))
                    (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]