branch: elpa/magit commit ef3de36162f7a842014b51c4d16bb33b1726f60d Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-section-show-level: Improve docstring --- lisp/magit-section.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/magit-section.el b/lisp/magit-section.el index e94c98321e..6a9828f48e 100644 --- a/lisp/magit-section.el +++ b/lisp/magit-section.el @@ -1076,8 +1076,8 @@ SECTION's body (and heading) obviously cannot be visible." (defun magit-section-show-level (level) "Show surrounding sections up to LEVEL. -If LEVEL is negative, show up to the absolute value. -Sections at higher levels are hidden." +Likewise hide sections at higher levels. If LEVEL is negative, show all +sections up to the absolute value of that, not just surrounding sections." (if (< level 0) (let ((s (magit-current-section))) (setq level (- level))