diff options
| author | Liu Hui | 2025-12-29 17:50:00 +0800 |
|---|---|---|
| committer | Sean Whitton | 2025-12-29 11:36:07 +0000 |
| commit | 1fb98f2002df778beb4fe0ef44c5bbb0c0eea2e6 (patch) | |
| tree | 6efa36b9cace28f05e918d7f640f2d16333e65ed /lib/malloc | |
| parent | e119514ae8b391f41577d22d4e41cc3fea7ab9eb (diff) | |
| download | emacs-1fb98f2002df778beb4fe0ef44c5bbb0c0eea2e6.tar.gz emacs-1fb98f2002df778beb4fe0ef44c5bbb0c0eea2e6.zip | |
Fix the date in the calendar mode line (bug#80069)
* lisp/calendar/calendar.el (calendar-redraw)
(calendar-other-month): Make sure that the mode line is updated
after cursor motion in case 'date' is used in
'calendar-mode-line-format'.
(calendar-set-date-style): Delete call to
calendar-update-mode-line because it is called in calendar-draw.
(calendar-generate-window): Delete calls to
calendar-update-mode-line and calendar-cursor-to-visible-date.
It's better for the caller to do it.
(calendar-basic-setup): Update cursor position and mode line.
* lisp/calendar/cal-move.el (calendar-goto-today): Delete
calendar-update-mode-line because calendar-move-hook is called
last. This is consistent with other cal-move commands.
* test/lisp/calendar/calendar-tests.el
(calendar-test-date-in-mode-line): New test.
Diffstat (limited to 'lib/malloc')
0 files changed, 0 insertions, 0 deletions