branch: elpa/ws-butler
commit 0da93406a50bc4329aab41be6ee57ca550166bb0
Author: Sean Whitton <spwhit...@spwhitton.name>
Commit: Sean Whitton <spwhit...@spwhitton.name>

    Revert "Abbreviate default value of ws-butler-trim-predicate"
    
    This reverts commit ffbf22775145840c8f50b47151ff544be1386236.
---
 ws-butler.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ws-butler.el b/ws-butler.el
index 0309215464..413f7052b7 100644
--- a/ws-butler.el
+++ b/ws-butler.el
@@ -92,7 +92,8 @@ not activate in all modes with a `mode-class' of `special'."
   :type '(repeat (symbol :tag "Major mode"))
   :group 'ws-butler)
 
-(defcustom ws-butler-trim-predicate #'always
+(defcustom ws-butler-trim-predicate
+  (lambda (_beg _end) t)
   "Function to exclude regions from whitespace trimming.
 Called with two arguments delimiting a region of the current buffer.
 If the function returns non-nil, trailing whitespace in that region will be

Reply via email to