branch: elpa/magit commit fb10ac0d3b25141323d608155f74379895616134 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-section.el: Add missing section headings --- lisp/magit-section.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/magit-section.el b/lisp/magit-section.el index 692b93aed2..c648bb1ae2 100644 --- a/lisp/magit-section.el +++ b/lisp/magit-section.el @@ -1781,6 +1781,8 @@ invisible." (defvar magit-show-long-lines-warning t) +;;; Long Lines + (defun magit-section--maybe-enable-long-lines-shortcuts () (and (fboundp 'long-line-optimizations-p) (long-line-optimizations-p) @@ -1805,6 +1807,8 @@ This message won't be shown for this session again. To disable it for all future sessions, set `magit-show-long-lines-warning' to nil." (bound-and-true-p long-line-threshold)) :warning))))) +;;; Successor + (cl-defgeneric magit-section-get-relative-position (section)) (cl-defmethod magit-section-get-relative-position ((section magit-section))