3 | 3 |
|
4 | 4 |
;; Author: Adam Porter <adam@alphapapa.net>
|
5 | 5 |
;; URL: http://github.com/alphapapa/magit-todos
|
6 | |
;; Version: 1.5.2
|
|
6 |
;; Version: 1.5.3
|
7 | 7 |
;; Package-Requires: ((emacs "25.2") (async "1.9.2") (dash "2.13.0") (f "0.17.2") (hl-todo "1.9.0") (magit "2.13.0") (pcre2el "1.8") (s "1.12.0"))
|
8 | 8 |
;; Keywords: magit, vc
|
9 | 9 |
|
|
115 | 115 |
"The current scan's process.
|
116 | 116 |
Used to avoid running multiple simultaneous scans for a
|
117 | 117 |
magit-status buffer.")
|
|
118 |
|
|
119 |
;; FIXME: Jumping binds. In `magit-status-mode-map' now, "j" is bound
|
|
120 |
;; to `magit-status-jump', which is a Transient command; it's no
|
|
121 |
;; longer bound to a prefix map. There doesn't seem to be a way to
|
|
122 |
;; add binds to that Transient command's body.
|
118 | 123 |
|
119 | 124 |
(defvar magit-todos-section-map
|
120 | 125 |
(let ((map (make-sparse-keymap)))
|
|
774 | 779 |
;; NOTE: `magit-insert-section' seems to bind `magit-section-visibility-cache' to nil, so setting
|
775 | 780 |
;; visibility within calls to it probably won't work as intended.
|
776 | 781 |
(declare (indent defun))
|
777 | |
(let* ((indent (s-repeat (* 2 depth) " "))
|
|
782 |
(let* ((indent (propertize (s-repeat (* 2 depth) " ") 'face nil))
|
778 | 783 |
(heading (concat indent heading))
|
779 | 784 |
(magit-insert-section--parent (if (= 0 depth)
|
780 | 785 |
magit-root-section
|
|
836 | 841 |
;; NOTE: `magit-insert-section' seems to bind `magit-section-visibility-cache' to nil, so setting
|
837 | 842 |
;; visibility within calls to it probably won't work as intended.
|
838 | 843 |
(declare (indent defun))
|
839 | |
(let* ((indent (s-repeat (* 2 depth) " "))
|
|
844 |
(let* ((indent (propertize (s-repeat (* 2 depth) " ") 'face nil))
|
840 | 845 |
(magit-insert-section--parent (if (= 0 depth)
|
841 | 846 |
magit-root-section
|
842 | 847 |
magit-insert-section--parent))
|