branch: elpa/ws-butler
commit ffbf22775145840c8f50b47151ff544be1386236
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>
Abbreviate default value of ws-butler-trim-predicate
---
ws-butler.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ws-butler.el b/ws-butler.el
index 7f1d0af1be..8b3de1c39a 100644
--- a/ws-butler.el
+++ b/ws-butler.el
@@ -78,8 +78,7 @@ If `smart-tabs-mode' is enabled, these conversions are
suppressed."
:type '(repeat (symbol :tag "Major mode"))
:group 'ws-butler)
-(defcustom ws-butler-trim-predicate
- (lambda (_beg _end) t)
+(defcustom ws-butler-trim-predicate #'always
"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