branch: elpa/git-commit commit 13e442258401407bcaef4fcb286ea64c312dec22 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-insert-section: Remove a comment Someone reading this macro is going to have a lot of questions; "why isn't `magit-insert-section-hook' being used" is unlikely to be one of them. --- lisp/magit-section.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/magit-section.el b/lisp/magit-section.el index ee8f893ac3..be1c01a513 100644 --- a/lisp/magit-section.el +++ b/lisp/magit-section.el @@ -1430,9 +1430,6 @@ anything this time around. `((let ((,s* ,s)) ,@(cdr args))) (cdr args)) - ;; `magit-insert-section-hook' should *not* be run with - ;; `magit-run-section-hook' because it's a hook that runs - ;; on section insertion, not a section inserting hook. (run-hooks 'magit-insert-section-hook) (magit-insert-child-count ,s) (unless magit-section-inhibit-markers