diff options
| author | Eli Zaretskii | 2023-04-21 07:29:14 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2023-04-21 07:29:14 -0400 |
| commit | f1ce49d148b334a8fb5302c4dd596aceffbb6b57 (patch) | |
| tree | e551bef8b4c260e79f920b495a206c993de7fc7c /src | |
| parent | 4416262f59f5e74d3991fdf9c06ad776eca50663 (diff) | |
| parent | 3899acbb3367984d66c7484a208b40a6851f4cc2 (diff) | |
| download | emacs-f1ce49d148b334a8fb5302c4dd596aceffbb6b57.tar.gz emacs-f1ce49d148b334a8fb5302c4dd596aceffbb6b57.zip | |
Merge from origin/emacs-29
3899acbb336 ; * src/fringe.c: Fix description of large circle. (Bug#...
2b10e1827d3 sql: add missing postgresql types
9ac12592781 Fix display of menu-bar bindings of commands in *Help* bu...
ecdd3a9efac Improve Completion Example section in the Emacs manual
626e1ac62b2 Improve 'message-server-alist' docstring
327986936c3 Add index entry for fallback modes
1c4783c3300 ; * etc/NEWS: Copyedits and grammar fixes.
3d6f7553319 xref-search-program-alist: Fix searching larger file list...
1b8b2cf61bd Fix typo and inaccuracy in the ELisp Reference manual
df17682ebf1 ; Support 'dart-ts-mode' in Eglot
e0dc60e0780 ; Fix typos in gdb-mi.el
60560cc7adf Fix description of lexical environment's internals
1456adf4248 ; Eglot: fix a typo in a customization type
2f59595f5f4 ; * etc/NEWS: Grammar fixes.
596b780ab71 Update to Org 9.6.4-2-g0f6ae7
a0b04a22479 Documentation copyedits for 'package-install-upgrade-buil...
580d8278c5f Allow upgrading built-in packages with 'package-install'
329304c23fa ; * src/term.c (init_tty): Fix last change. (Bug#62877)
200dbf7d302 Minor changes in c-ts-mode.el's support of DEFUNs
9686b015a0d Fix strike-through attribute support on TTY frames
39035fbfc5f Avoid crashes in 'describe-keymap' due to shadowing
# Conflicts:
# etc/NEWS
# lisp/progmodes/c-ts-mode.el
# lisp/progmodes/eglot.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/fringe.c | 4 | ||||
| -rw-r--r-- | src/keymap.c | 19 | ||||
| -rw-r--r-- | src/term.c | 8 |
3 files changed, 22 insertions, 9 deletions
diff --git a/src/fringe.c b/src/fringe.c index 5fcb1b27272..ed257c073b9 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -211,14 +211,14 @@ static unsigned short right_curly_arrow_bits[] = { | |||
| 211 | 211 | ||
| 212 | /* Large circle bitmap. */ | 212 | /* Large circle bitmap. */ |
| 213 | /* | 213 | /* |
| 214 | ........ | ||
| 215 | ..xxxx.. | 214 | ..xxxx.. |
| 216 | .xxxxxx. | 215 | .xxxxxx. |
| 217 | xxxxxxxx | 216 | xxxxxxxx |
| 218 | xxxxxxxx | 217 | xxxxxxxx |
| 218 | xxxxxxxx | ||
| 219 | xxxxxxxx | ||
| 219 | .xxxxxx. | 220 | .xxxxxx. |
| 220 | ..xxxx.. | 221 | ..xxxx.. |
| 221 | ........ | ||
| 222 | */ | 222 | */ |
| 223 | static unsigned short large_circle_bits[] = { | 223 | static unsigned short large_circle_bits[] = { |
| 224 | 0x3c, 0x7e, 0xff, 0xff, 0xff, 0xff, 0x7e, 0x3c}; | 224 | 0x3c, 0x7e, 0xff, 0xff, 0xff, 0xff, 0x7e, 0x3c}; |
diff --git a/src/keymap.c b/src/keymap.c index efac410d317..7f5777c9251 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -3308,13 +3308,18 @@ describe_vector (Lisp_Object vector, Lisp_Object prefix, Lisp_Object args, | |||
| 3308 | if (this_shadowed) | 3308 | if (this_shadowed) |
| 3309 | { | 3309 | { |
| 3310 | SET_PT (PT - 1); | 3310 | SET_PT (PT - 1); |
| 3311 | static char const fmt[] = " (currently shadowed by `%s')"; | 3311 | if (SYMBOLP (shadowed_by)) |
| 3312 | USE_SAFE_ALLOCA; | 3312 | { |
| 3313 | char *buffer = SAFE_ALLOCA (sizeof fmt + | 3313 | static char const fmt[] = " (currently shadowed by `%s')"; |
| 3314 | SBYTES (SYMBOL_NAME (shadowed_by))); | 3314 | USE_SAFE_ALLOCA; |
| 3315 | esprintf (buffer, fmt, SDATA (SYMBOL_NAME (shadowed_by))); | 3315 | char *buffer = |
| 3316 | insert_string (buffer); | 3316 | SAFE_ALLOCA (sizeof fmt + SBYTES (SYMBOL_NAME (shadowed_by))); |
| 3317 | SAFE_FREE(); | 3317 | esprintf (buffer, fmt, SDATA (SYMBOL_NAME (shadowed_by))); |
| 3318 | insert_string (buffer); | ||
| 3319 | SAFE_FREE(); | ||
| 3320 | } | ||
| 3321 | else /* Could be a keymap, a lambda, or a keyboard macro. */ | ||
| 3322 | insert_string (" (currently shadowed)"); | ||
| 3318 | SET_PT (PT + 1); | 3323 | SET_PT (PT + 1); |
| 3319 | } | 3324 | } |
| 3320 | } | 3325 | } |
diff --git a/src/term.c b/src/term.c index d881dee39fe..53ba2a231e4 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -4163,7 +4163,15 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\ | |||
| 4163 | tty->TS_enter_alt_charset_mode = tgetstr ("as", address); | 4163 | tty->TS_enter_alt_charset_mode = tgetstr ("as", address); |
| 4164 | tty->TS_exit_alt_charset_mode = tgetstr ("ae", address); | 4164 | tty->TS_exit_alt_charset_mode = tgetstr ("ae", address); |
| 4165 | tty->TS_exit_attribute_mode = tgetstr ("me", address); | 4165 | tty->TS_exit_attribute_mode = tgetstr ("me", address); |
| 4166 | #ifdef TERMINFO | ||
| 4167 | tty->TS_enter_strike_through_mode = tigetstr ("smxx"); | ||
| 4168 | if (tty->TS_enter_strike_through_mode == (char *) (intptr_t) -1) | ||
| 4169 | tty->TS_enter_strike_through_mode = NULL; | ||
| 4170 | #else | ||
| 4171 | /* FIXME: Is calling tgetstr here for non-terminfo case correct, | ||
| 4172 | even though "smxx" is more than 2 characters? */ | ||
| 4166 | tty->TS_enter_strike_through_mode = tgetstr ("smxx", address); | 4173 | tty->TS_enter_strike_through_mode = tgetstr ("smxx", address); |
| 4174 | #endif | ||
| 4167 | 4175 | ||
| 4168 | MultiUp (tty) = tgetstr ("UP", address); | 4176 | MultiUp (tty) = tgetstr ("UP", address); |
| 4169 | MultiDown (tty) = tgetstr ("DO", address); | 4177 | MultiDown (tty) = tgetstr ("DO", address); |