diff options
| author | Manuel Giraud | 2025-07-07 07:44:08 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-08-07 16:49:56 +0300 |
| commit | cbeb558f167a588e7792fd270d3142f6960d643d (patch) | |
| tree | aca1b957dc32abbffb6ad2bd8093926f59bcd3f9 /etc | |
| parent | 55541c8b66c25b1e5fb45c6d8341fd111143d509 (diff) | |
| download | emacs-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/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -2451,6 +2451,14 @@ modifier, it scrolls by year. | |||
| 2451 | The month and year navigation key bindings 'M-}', 'M-{', 'C-x ]' and | 2451 | The 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. | ||
| 2456 | The user options `calendar-mark-holidays-flag' and | ||
| 2457 | `calendar-mark-diary-entries-flag' are not modified anymore when | ||
| 2458 | changing the marking state in the calendar buffer. We now use variables | ||
| 2459 | that are reset to the user option values whenever we generate a new | ||
| 2460 | calendar. | ||
| 2461 | |||
| 2454 | ** Calc | 2462 | ** Calc |
| 2455 | 2463 | ||
| 2456 | *** New user option 'calc-string-maximum-character'. | 2464 | *** New user option 'calc-string-maximum-character'. |