1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00
emacs/test/src
Mattias Engdegård b929bdaeb6 Fix Fchar_syntax for non-ASCII in unibyte buffers
Fchar_syntax did not convert unibyte characters to multibyte when the
current buffer was unibyte, in contrast to `char-syntax` in
byte-compiled code (bug#53260).

* src/bytecode.c (exec_byte_code): Call out to Fchar_syntax;
the dynamic frequency is too low to justify inlining here, and it
did lead to implementations diverging.
* src/syntax.c (Fchar_syntax): Convert non-ASCII unibyte values to
multibyte.
* test/src/syntax-tests.el (syntax-char-syntax): New test.
2022-01-20 11:44:07 +01:00
..
comp-resources
emacs-module-resources
lread-resources
regex-resources
syntax-resources
alloc-tests.el
buffer-tests.el
callint-tests.el
callproc-tests.el
casefiddle-tests.el
character-tests.el
charset-tests.el
chartab-tests.el
cmds-tests.el
coding-tests.el
comp-tests.el
data-tests.el
decompress-tests.el
doc-tests.el
editfns-tests.el
emacs-module-tests.el
emacs-tests.el
eval-tests.el
fileio-tests.el
filelock-tests.el
floatfns-tests.el
fns-tests.el
font-tests.el
image-tests.el
indent-tests.el
inotify-tests.el
json-tests.el
keyboard-tests.el
keymap-tests.el
lcms-tests.el
lread-tests.el
marker-tests.el
minibuf-tests.el
print-tests.el
process-tests.el
regex-emacs-tests.el
search-tests.el
sqlite-tests.el
syntax-tests.el
textprop-tests.el
thread-tests.el
timefns-tests.el
undo-tests.el
xdisp-tests.el
xfaces-tests.el
xml-tests.el