summaryrefslogtreecommitdiff
path: root/doc/lispref/keymaps.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-14 17:07:41 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-14 17:07:41 +0100
commit10bc4eac5bb2e7e4b520628286a52f0508332119 (patch)
tree9380f9ca57ff5963f9c5e9562c6102e61380c33a /doc/lispref/keymaps.texi
parent8b3de06347dfcb4afab93f17f32297fe721b363b (diff)
downloademacs-10bc4eac5bb2e7e4b520628286a52f0508332119.tar.gz
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).
Diffstat (limited to 'doc/lispref/keymaps.texi')
-rw-r--r--doc/lispref/keymaps.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index 6635f50960a..9daeb2c77f9 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -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