diff options
| author | Eli Zaretskii | 2021-11-03 20:26:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-11-03 20:26:29 +0200 |
| commit | f78c819d9569ad18cc048554ddeb331a27a58989 (patch) | |
| tree | bd9e61206672a71af7724a079305b07cc11e49fa /src | |
| parent | d8523060e5dcf285a5468377720bed6a34599df6 (diff) | |
| parent | 3e4eb54db49e23b593664e4a3de3d3d744de61b7 (diff) | |
| download | emacs-f78c819d9569ad18cc048554ddeb331a27a58989.tar.gz emacs-f78c819d9569ad18cc048554ddeb331a27a58989.zip | |
Merge from origin/emacs-28
3e4eb54 ; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#5...
35bc211 Document a macOS error message when opening Emacs
4df9998 Fix header-line and tab-line when mode-line-compact is set
81915a9 Add manual section about how to avoid regexp problems
a16e66c Clarify build environment
6ab6b2f Clarify build directory structure
9d61620 * src/pdumper.c (dump_do_dump_relocation): Add sanity check.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pdumper.c | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/pdumper.c b/src/pdumper.c index 6cf7b847cb7..9eff5c48d09 100644 --- a/src/pdumper.c +++ b/src/pdumper.c | |||
| @@ -5296,6 +5296,9 @@ dump_do_dump_relocation (const uintptr_t dump_base, | |||
| 5296 | error ("Trying to load incoherent dumped eln file %s", | 5296 | error ("Trying to load incoherent dumped eln file %s", |
| 5297 | SSDATA (comp_u->file)); | 5297 | SSDATA (comp_u->file)); |
| 5298 | 5298 | ||
| 5299 | if (!CONSP (comp_u->file)) | ||
| 5300 | error ("Incoherent compilation unit for dump was dumped"); | ||
| 5301 | |||
| 5299 | /* emacs_execdir is always unibyte, but the file names in | 5302 | /* emacs_execdir is always unibyte, but the file names in |
| 5300 | comp_u->file could be multibyte, so we need to encode | 5303 | comp_u->file could be multibyte, so we need to encode |
| 5301 | them. */ | 5304 | them. */ |
diff --git a/src/xdisp.c b/src/xdisp.c index aa01db210b7..39ede3c0952 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -25626,7 +25626,8 @@ display_mode_line (struct window *w, enum face_id face_id, Lisp_Object format) | |||
| 25626 | push_kboard (FRAME_KBOARD (it.f)); | 25626 | push_kboard (FRAME_KBOARD (it.f)); |
| 25627 | record_unwind_save_match_data (); | 25627 | record_unwind_save_match_data (); |
| 25628 | 25628 | ||
| 25629 | if (NILP (Vmode_line_compact)) | 25629 | if (NILP (Vmode_line_compact) |
| 25630 | || face_id == HEADER_LINE_FACE_ID || face_id == TAB_LINE_FACE_ID) | ||
| 25630 | { | 25631 | { |
| 25631 | mode_line_target = MODE_LINE_DISPLAY; | 25632 | mode_line_target = MODE_LINE_DISPLAY; |
| 25632 | display_mode_element (&it, 0, 0, 0, format, Qnil, false); | 25633 | display_mode_element (&it, 0, 0, 0, format, Qnil, false); |