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

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

[nongnu] elpa/hyperdrive 0718055eef 7/8: Tidy: (h/dir--invalidate-entry)


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 0718055eef 7/8: Tidy: (h/dir--invalidate-entry) Remove unnecessary `and' check
Date: Fri, 16 Aug 2024 19:00:12 -0400 (EDT)

branch: elpa/hyperdrive
commit 0718055eefe85f0269b116e9d8247b5233780f0a
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Tidy: (h/dir--invalidate-entry) Remove unnecessary `and' check
---
 hyperdrive-dir.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index 35593d1856..bfe95d6ff3 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -102,9 +102,8 @@ All other slots in each ewoc node entry data will be 
reused."
   (when-let* ((dir-buffer (hyperdrive--find-buffer-visiting
                            (hyperdrive-parent entry)))
               (dir-ewoc (buffer-local-value 'h/ewoc dir-buffer))
-              (dir-node (and dir-ewoc
-                             (h/ewoc-find-node dir-ewoc entry
-                               :predicate #'he/equal-p)))
+              (dir-node (h/ewoc-find-node dir-ewoc entry
+                          :predicate #'he/equal-p))
               (dir-ewoc-entry (ewoc-data dir-node)))
     (setf (map-elt (he/etc dir-ewoc-entry) 'block-length-downloaded)
           (map-elt (he/etc entry) 'block-length-downloaded))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]