branch: externals/disk-usage
commit 20ed51ef903bc38b492ec7cdf16de7195359e766
Author: Pierre Neidhardt <[email protected]>
Commit: Pierre Neidhardt <[email protected]>
Fix mark not being set
---
disk-usage.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/disk-usage.el b/disk-usage.el
index 39d5a25..c8dfb83 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -441,7 +441,7 @@ See `disk-usage-mark' and `disk-usage-unmark'."
mark (or mark "*"))
(dotimes (_ count)
(let ((file-info (tabulated-list-get-id (point))))
- (setf (disk-usage--file-info-marked file-info) (string= mark "")))
+ (setf (disk-usage--file-info-marked file-info) (not (string= mark
""))))
(tabulated-list-put-tag mark)
(forward-line step))))