diff options
| author | Po Lu | 2022-09-19 10:01:52 +0800 |
|---|---|---|
| committer | Po Lu | 2022-09-19 10:01:52 +0800 |
| commit | 5b3c4004a9647aa2068e54c358e202f57d0ece3c (patch) | |
| tree | 0ca3ed81d2c14bc333eeab0dfd7ef45e054baa40 /src/bytecode.c | |
| parent | 202c416e2e829cfdfde83bc82705be4b7ad6799e (diff) | |
| download | emacs-5b3c4004a9647aa2068e54c358e202f57d0ece3c.tar.gz emacs-5b3c4004a9647aa2068e54c358e202f57d0ece3c.zip | |
Remove calls to intern with a static string from code that runs on X
* Makefile.in (actual-all): Reword build failure advice.
* src/bytecode.c (exec_byte_code, syms_of_bytecode):
* src/font.c (syms_of_font):
* src/hbfont.c (uni_combining):
* src/xfns.c (Fx_display_backing_store, Fx_display_visual_class)
(x_create_tip_frame, Fx_show_tip, syms_of_xfns):
* src/xfont.c (xfont_supported_scripts, xfont_driver)
(syms_of_xfont):
* src/xsmfns.c (Fhandle_save_session, syms_of_xsmfns): Remove
calls to intern with a static string.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index d75767bb0c5..c765e1be2bc 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -1431,7 +1431,7 @@ exec_byte_code (Lisp_Object fun, ptrdiff_t args_template, | |||
| 1431 | NEXT; | 1431 | NEXT; |
| 1432 | 1432 | ||
| 1433 | CASE (Binteractive_p): /* Obsolete since 24.1. */ | 1433 | CASE (Binteractive_p): /* Obsolete since 24.1. */ |
| 1434 | PUSH (call0 (intern ("interactive-p"))); | 1434 | PUSH (call0 (Qinteractive_p)); |
| 1435 | NEXT; | 1435 | NEXT; |
| 1436 | 1436 | ||
| 1437 | CASE (Bforward_char): | 1437 | CASE (Bforward_char): |
| @@ -1749,6 +1749,8 @@ get_byte_code_arity (Lisp_Object args_template) | |||
| 1749 | void | 1749 | void |
| 1750 | syms_of_bytecode (void) | 1750 | syms_of_bytecode (void) |
| 1751 | { | 1751 | { |
| 1752 | DEFSYM (Qinteractive_p, "interactive-p"); | ||
| 1753 | |||
| 1752 | defsubr (&Sbyte_code); | 1754 | defsubr (&Sbyte_code); |
| 1753 | defsubr (&Sinternal_stack_stats); | 1755 | defsubr (&Sinternal_stack_stats); |
| 1754 | 1756 | ||