Tool bar documentation clarification: Mention forcing updates

* doc/lispref/keymaps.texi (Tool Bar): Document that flipping the
status of a tool bar item doesn't necessarily update the visuals
(bug#42957).
This commit is contained in:
Lars Ingebrigtsen 2020-12-14 17:07:41 +01:00
parent 8b3de06347
commit 10bc4eac5b

View file

@ -2812,6 +2812,11 @@ the shift modifier:
@xref{Function Keys}, for more information about how to add modifiers to
function keys.
If you have functions that change whether a tool bar item is enabled
or not, this status is not necessarily updated visually immediately.
To force recalculation of the tool bar, call
@code{force-mode-line-update} (@pxref{Mode Line Format}).
@node Modifying Menus
@subsection Modifying Menus
@cindex menu modification