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

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

[elpa] externals/taxy 5a16dd0 39/42: Comment: Add TODO


From: ELPA Syncer
Subject: [elpa] externals/taxy 5a16dd0 39/42: Comment: Add TODO
Date: Wed, 15 Sep 2021 12:57:34 -0400 (EDT)

branch: externals/taxy
commit 5a16dd05b9507135b307e206d49c0d8e16ce6764
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Comment: Add TODO
---
 taxy-magit-section.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/taxy-magit-section.el b/taxy-magit-section.el
index 1c54376..62990d0 100644
--- a/taxy-magit-section.el
+++ b/taxy-magit-section.el
@@ -73,6 +73,7 @@ this does not disable indentation of section headings.")
   ;; performance, since slot accessors can't be optimized).
   (visibility-fn #'taxy-magit-section-visibility)
   (heading-face-fn (lambda (_depth) 'magit-section-heading))
+  ;; TODO: Rename heading-indent slot to level-indent.
   (heading-indent 2)
   (item-indent 2)
   (format-fn #'prin1-to-string))
@@ -281,9 +282,8 @@ PLIST may be a plist setting the following options:
 ;; I'm not sure which would perform better; I guess that with many lines, 
redisplay might take longer to use the
 ;; display properties for alignment than just having pre-aligned lines of text.
 
-;; TODO: Document this.
-
 (defun taxy-magit-section-format-items (columns formatters taxy)
+  ;; TODO: Document this.
   "Return a cons (table . column-sizes) for COLUMNS, FORMATTERS, and TAXY.
 COLUMNS is a list of column names, each of which should have an
 associated formatting function in FORMATTERS.
@@ -334,8 +334,8 @@ the items' values for each column."
                 table)
        (cons table column-sizes)))))
 
-;; TODO: Document this.
 (defun taxy-magit-section-format-header (column-sizes formatters)
+  ;; TODO: Document this.
   "Return header string for COLUMN-SIZES and FORMATTERS.
 COLUMN-SIZES should be the CDR of the cell returned by
 `taxy-magit-section-format-items'.  FORMATTERS should be the



reply via email to

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