1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

Revert "Don't let item decoration be disrupted by too-shallow items."

This reverts commit 8684216542.

Backporting it to emacs-27 was not appropriate.
This commit is contained in:
Ken Manheimer 2020-07-21 10:55:08 -04:00
parent 8e4eae0ce3
commit 56422a6366

View file

@ -1602,10 +1602,7 @@ We return the item-widget corresponding to the item at point."
(if is-container
(progn (widget-put item-widget :is-container t)
(setq reverse-siblings-chart (list 1)))
(let ((parent-position (widget-apply parent
:actual-position :from)))
(when parent-position
(goto-char parent-position)))
(goto-char (widget-apply parent :actual-position :from))
(if (widget-get parent :is-container)
;; `allout-goto-prefix' will go to first non-container item:
(allout-goto-prefix)
@ -2403,7 +2400,7 @@ The elements of LIST are not copied, just the list structure itself."
;;;_ : provide
(provide 'allout-widgets)
;;;_ . Local emacs vars.
;;;_ , Local variables:
;;;_ , allout-layout: (-1 : 0)
;;;_ , End:
;;;_. Local emacs vars.
;;;_ , Local variables:
;;;_ , allout-layout: (-1 : 0)
;;;_ , End: