diff options
| author | Stefan Kangas | 2023-01-10 09:51:57 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2023-01-10 09:51:57 +0100 |
| commit | 60240f54e5fed16a0522fb766ffef073db596f1f (patch) | |
| tree | a8677abd38758e66c56900632756a39a0ebccb7b /src | |
| parent | 4d1d43e41fafaa5beecba57686f5d5f4146746c8 (diff) | |
| parent | 55aabfea4accd04aed9424b5cdbe304d12be6224 (diff) | |
| download | emacs-60240f54e5fed16a0522fb766ffef073db596f1f.tar.gz emacs-60240f54e5fed16a0522fb766ffef073db596f1f.zip | |
Merge from origin/emacs-29
55aabfea4ac Fix c-ts-mode comment indent
8377ed5298f Highlight identifier in import statements in js-ts-mode
aa9df1260c3 Don't print named tree-sitter nodes with parenthesizes (b...
e385c099b8c Improve fontification for import-statements in typescript...
28dd6021384 Fix c-ts-mode indentation for 2nd line in block comment (...
8a36a0f44aa ; xref.el: Bump version
f16cc7c49c7 ; project.el: Bump version
ebc5263667b ; * src/callint.c (Finteractive): Doc string clarification.
c1401d1c6c8 * lisp/vc/diff-mode.el (diff-font-lock-keywords): Check f...
1f8ad353d9f Minor improvement for tree-sitter explorer
ef87c755660 Make sure NODE is not the root node in tree-sitter indent...
1238fa8e49b Fix label indent of GNU and Linux style in c-ts-mode (bug...
dc911e4ba5c Improve go-ts-mode Imenu, navigation and electric pair (b...
20f36c8f6f9 ; ruby.rb: Fix pattern matching syntax and extend the exa...
d46f7f4edcc Revert "Add c-or-c++-ts-mode (bug#59613)"
1469aac20d8 ; * src/pgtkfns.c (parse_resource_key): Use recursive sch...
da96a1fd741 Add back renamed function 'font-lock-fontify-syntacticall...
b1aa720671e ; * lisp/progmodes/ruby-ts-mode.el: Fix compilation warni...
5cb01ac5d78 ; * src/callint.c (Finteractive): Fix the doc string (bug...
53e64cfb852 Improve options and docs of M-x command completion
fef4f18cc33 ; Fix NEWS
e04b3d41bb4 Update to Org 9.6-90-ga6523f
e3d806b4172 Fix string fontification on python-ts-mode (bug#60599)
800e15e3be0 Fix string-interpolation feature of python-ts-mode (bug#6...
38b63f4c3ce Add indentation rule for concatenated_string (bug#60572)
2cdd75a18ff Fix highlighting of variable-declarations in typescript-t...
73168793c01 Fix label indentation for Linux style in c-ts-mode (bug#6...
8575043f56b Remove duplicate entries in c-ts-mode's Imenu
ef7f3c6388b Fix use of treesit-ready-p in c/c++-ts-mode
cc1de953d4f ; * lisp/progmodes/gud.el (gud-tooltip-modes): Add ts- mo...
16f1e47ca8b ; * lisp/align.el (align-c++-modes): Add c/c++-ts-mode.
508389ad2bb Add documentation for c/c++-ts-mode (bug#60443)
ee3e8d3f927 (ruby-ts--font-lock-settings): Improve highlighting in pa...
614f8c431d3 Optionally include the namespace in c-ts-mode--declarator...
7c356934fbb Support namespaces in c++-ts-mode (bug#60397)
757c2c25922 Fix c-ts-mode--looking-at-star
1df2826639c Add c-or-c++-ts-mode (bug#59613)
0cb686ffb6b Document the 'definition-name' property.
7f855b5297b ; Fix description of etc/DOC
e9341119fe4 ; Fix documentation of etc/DOC
86a3462e3d2 (treesit-simple-indent-presets): Do that for 'or' as well.
e0fef510b00 ; Minor rewording of tree-sitter terminology
f58452e3ae7 Fix 'python-shell-buffer-substring' when START is in midd...
7f9588685a0 ; Fix last change
e8b85f225d9 Rearrange the "Saving Emacs Sessions" section of the user...
# Conflicts:
# etc/NEWS
# lisp/progmodes/c-ts-mode.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 12 | ||||
| -rw-r--r-- | src/pgtkfns.c | 2 | ||||
| -rw-r--r-- | src/print.c | 9 |
3 files changed, 15 insertions, 8 deletions
diff --git a/src/callint.c b/src/callint.c index c60a376b958..d8d2b278458 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -105,11 +105,13 @@ If the string begins with `^' and `shift-select-mode' is non-nil, | |||
| 105 | You may use `@', `*', and `^' together. They are processed in the | 105 | You may use `@', `*', and `^' together. They are processed in the |
| 106 | order that they appear, before reading any arguments. | 106 | order that they appear, before reading any arguments. |
| 107 | 107 | ||
| 108 | If MODES is present, it should be a list of mode names (symbols) that | 108 | If MODES is present, it should be one or more mode names (symbols) |
| 109 | this command is applicable for. The main effect of this is that | 109 | for which this command is applicable. This is so that `M-x TAB' |
| 110 | `M-x TAB' (by default) won't list this command if the current buffer's | 110 | will be able to exclude this command from the list of completion |
| 111 | mode doesn't match the list. That is, if either the major mode isn't | 111 | candidates if the current buffer's mode doesn't match the list. |
| 112 | derived from them, or (when it's a minor mode) the mode isn't in effect. | 112 | Which commands are excluded from the list of completion |
| 113 | candidates based on this information is controlled by the value | ||
| 114 | of `read-extended-command-predicate', which see. | ||
| 113 | 115 | ||
| 114 | usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */ | 116 | usage: (interactive &optional ARG-DESCRIPTOR &rest MODES) */ |
| 115 | attributes: const) | 117 | attributes: const) |
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index 6b3a0459d36..6e5bb22375a 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c | |||
| @@ -1902,7 +1902,7 @@ parse_resource_key (const char *res_key, char *setting_key) | |||
| 1902 | 1902 | ||
| 1903 | /* check existence of setting_key */ | 1903 | /* check existence of setting_key */ |
| 1904 | GSettingsSchemaSource *ssrc = g_settings_schema_source_get_default (); | 1904 | GSettingsSchemaSource *ssrc = g_settings_schema_source_get_default (); |
| 1905 | GSettingsSchema *scm = g_settings_schema_source_lookup (ssrc, SCHEMA_ID, FALSE); | 1905 | GSettingsSchema *scm = g_settings_schema_source_lookup (ssrc, SCHEMA_ID, TRUE); |
| 1906 | if (!scm) | 1906 | if (!scm) |
| 1907 | return NULL; /* *.schema.xml is not installed. */ | 1907 | return NULL; /* *.schema.xml is not installed. */ |
| 1908 | if (!g_settings_schema_has_key (scm, setting_key)) | 1908 | if (!g_settings_schema_has_key (scm, setting_key)) |
diff --git a/src/print.c b/src/print.c index d4a9ff89246..e65b4c40b0e 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -2034,8 +2034,13 @@ print_vectorlike (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag, | |||
| 2034 | /* Now the node must be up-to-date, and calling functions like | 2034 | /* Now the node must be up-to-date, and calling functions like |
| 2035 | Ftreesit_node_start will not signal. */ | 2035 | Ftreesit_node_start will not signal. */ |
| 2036 | bool named = treesit_named_node_p (XTS_NODE (obj)->node); | 2036 | bool named = treesit_named_node_p (XTS_NODE (obj)->node); |
| 2037 | const char *delim1 = named ? "(" : "\""; | 2037 | /* We used to use () as delimiters for named nodes, but that |
| 2038 | const char *delim2 = named ? ")" : "\""; | 2038 | confuses pretty-printing a tad bit. There might be more |
| 2039 | little breakages here and there if we print parenthesizes | ||
| 2040 | inside an object, so I guess better not do it. | ||
| 2041 | (bug#60696) */ | ||
| 2042 | const char *delim1 = named ? "" : "\""; | ||
| 2043 | const char *delim2 = named ? "" : "\""; | ||
| 2039 | print_c_string (delim1, printcharfun); | 2044 | print_c_string (delim1, printcharfun); |
| 2040 | print_string (Ftreesit_node_type (obj), printcharfun); | 2045 | print_string (Ftreesit_node_type (obj), printcharfun); |
| 2041 | print_c_string (delim2, printcharfun); | 2046 | print_c_string (delim2, printcharfun); |