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

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

[nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling availabl


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 25a2191dcf 19/31: Chore: Avoid filling available space with arguments
Date: Fri, 1 Dec 2023 01:00:39 -0500 (EST)

branch: elpa/hyperdrive
commit 25a2191dcf678d914041d14fe3cac65a199eee48
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Joseph Turner <joseph@ushin.org>

    Chore: Avoid filling available space with arguments
    
    When breaking up lines, it can be tempting (or one might even prefer)
    keeping as many arguments on the same line as possible.  I feel that
    the slight reduction in readability outweighs the slight increase in
    lines.
---
 hyperdrive-dir.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hyperdrive-dir.el b/hyperdrive-dir.el
index f20888c183..030ff8fe57 100644
--- a/hyperdrive-dir.el
+++ b/hyperdrive-dir.el
@@ -163,7 +163,9 @@ Columns are suffixed with up/down arrows according to
       ((read-answer-short t)
        (choices (mapcar (lambda (field)
                           (let ((desc (symbol-name (car field))))
-                            (list desc (aref desc 0) (format "sort by %s" 
desc))))
+                            (list desc
+                                  (aref desc 0)
+                                  (format "sort by %s" desc))))
                         h/dir-sort-fields))
        (column (intern (read-answer "Sort by column: " choices))))
     (h/dir-toggle-sort-direction column h/directory-sort)))



reply via email to

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