aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorManuel Giraud2025-07-07 07:44:08 +0200
committerEli Zaretskii2025-08-07 16:49:56 +0300
commitcbeb558f167a588e7792fd270d3142f6960d643d (patch)
treeaca1b957dc32abbffb6ad2bd8093926f59bcd3f9 /etc
parent55541c8b66c25b1e5fb45c6d8341fd111143d509 (diff)
downloademacs-cbeb558f167a588e7792fd270d3142f6960d643d.tar.gz
emacs-cbeb558f167a588e7792fd270d3142f6960d643d.zip
Use variables to store marking state
Bug#78967. (calendar-mode): Init new variables with user options. * lisp/calendar/calendar.el (calendar-generate-window) (calendar-unmark): * lisp/calendar/diary-lib.el (diary-mark-entries) (diary-redraw-calendar): * lisp/calendar/holidays.el (calendar-mark-holidays): Use new variables. * etc/NEWS: Document the change.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a34a3d73292..80b461ddadf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2451,6 +2451,14 @@ modifier, it scrolls by year.
2451The month and year navigation key bindings 'M-}', 'M-{', 'C-x ]' and 2451The month and year navigation key bindings 'M-}', 'M-{', 'C-x ]' and
2452'C-x [' now have the alternative keys '}', '{', ']' and '['. 2452'C-x [' now have the alternative keys '}', '{', ']' and '['.
2453 2453
2454---
2455*** Avoid modifying user options.
2456The user options `calendar-mark-holidays-flag' and
2457`calendar-mark-diary-entries-flag' are not modified anymore when
2458changing the marking state in the calendar buffer. We now use variables
2459that are reset to the user option values whenever we generate a new
2460calendar.
2461
2454** Calc 2462** Calc
2455 2463
2456*** New user option 'calc-string-maximum-character'. 2464*** New user option 'calc-string-maximum-character'.