branch: externals/transient
commit 0758efa1dbdac38581b33aff66bbe53021a0fdb1
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    transient--show: Remove trailing whitespace
    
    This is for the benefit of users who want
    to enable `show-trailing-whitespace'.
    
    See https://github.com/magit/magit/issues/3740.
---
 lisp/transient.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/transient.el b/lisp/transient.el
index e822184bd1..3af24f65a5 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -2179,6 +2179,7 @@ have a history of their own.")
             (insert ?\n))))
       (when (or transient--helpp transient--editp)
         (transient--insert-help))
+      (delete-trailing-whitespace)
       (let ((lv-force-update t)
             (lv-use-separator t))
         (lv-message "%s" (buffer-string))))))

Reply via email to