diff options
| author | Eli Zaretskii | 2026-01-21 17:37:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2026-01-21 17:37:33 +0200 |
| commit | d4dbce74a7bbd1e7c0a3ef7cc7600a5627e26ad6 (patch) | |
| tree | d985dc392660f79a02fd7fc514592e6cf32150e3 /lisp/term/bg-mouse.el | |
| parent | fe2469c1c139e85742cf56dc2a9b6eaf7aad36a7 (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
The doc string of 'frame-or-buffer-changed-p' says not to call it
with the nil argument, but term.el did. Since "M-x term" puts
'term--update-term-menu' on the 'menu-bar-update-hook' ahead of
'menu-bar-update-buffers', it caused the latter decide that there
was no change in buffers, because the internal state variable
used by 'frame-or-buffer-changed-p' when called with the nil
argument was reset by 'term--update-term-menu'. Fix that by using
a non-nil state variable.
* lisp/term.el (term--buffers-changed): New variable.
(term--update-term-menu): Use it when calling
'frame-or-buffer-changed-p'. (Bug#80231)
Diffstat (limited to 'lisp/term/bg-mouse.el')
0 files changed, 0 insertions, 0 deletions