diff options
| author | Eli Zaretskii | 2024-05-25 08:00:48 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-25 08:00:48 -0400 |
| commit | ed7e57697572f641b50d24071867675bf89bed0f (patch) | |
| tree | 4c529184ed370d39103b2750e79104a9d48452ba /src | |
| parent | cb67c34bcfe525cbab75d7af8c6e6244d61eb228 (diff) | |
| parent | 4f0121f8dbe2ca0ec8fe2831353f01782e5e6b9d (diff) | |
| download | emacs-ed7e57697572f641b50d24071867675bf89bed0f.tar.gz emacs-ed7e57697572f641b50d24071867675bf89bed0f.zip | |
Merge from origin/emacs-29
4f0121f8dbe Avoid assertion violations in displaying under 'outline-m...
1bf65836622 Improve documentation of 'no-special-glyphs' frame parameter
3647645e948 Fix Python font lock of chained assignment statement
3291dea441f Fix example in Calc manual
350ae75f5c1 Avoid crashes on MS-Windows due to invalid UNC file names
ccf8dba44a3 ; * lisp/face-remap.el (text-scale-adjust): Doc fix.
5ab144c77cd ; Improve documentation of backing up files
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -2572,7 +2572,7 @@ parse_root (const char * name, const char ** pPath) | |||
| 2572 | name += 2; | 2572 | name += 2; |
| 2573 | do | 2573 | do |
| 2574 | { | 2574 | { |
| 2575 | if (IS_DIRECTORY_SEP (*name) && --slashes == 0) | 2575 | if (!*name || (IS_DIRECTORY_SEP (*name) && --slashes == 0)) |
| 2576 | break; | 2576 | break; |
| 2577 | name++; | 2577 | name++; |
| 2578 | } | 2578 | } |
diff --git a/src/xdisp.c b/src/xdisp.c index ba5af7127c6..7a00b297d61 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3878,7 +3878,7 @@ init_from_display_pos (struct it *it, struct window *w, struct display_pos *pos) | |||
| 3878 | if (in_ellipses_for_invisible_text_p (pos, w)) | 3878 | if (in_ellipses_for_invisible_text_p (pos, w)) |
| 3879 | { | 3879 | { |
| 3880 | --charpos; | 3880 | --charpos; |
| 3881 | bytepos = 0; | 3881 | bytepos = BYTE_TO_CHAR (charpos); |
| 3882 | } | 3882 | } |
| 3883 | 3883 | ||
| 3884 | /* Keep in mind: the call to reseat in init_iterator skips invisible | 3884 | /* Keep in mind: the call to reseat in init_iterator skips invisible |