• Stefan Monnier's avatar
    * src/fileio.c: Fix bug#36431 · fec111c9
    Stefan Monnier authored
    (decide_coding_unwind): Re-introduce.  Move text back to the gap.
    Return the new `inserted` via the unwind_data.
    (Finsert_file_contents): Use it.
    Make sure `inserted` is always 0 when we jump straight to `notfound`.
    Don't insert the text in the buffer until we know it's properly decoded
    for the byteness of the buffer.
    
    * test/src/fileio-tests.el (fileio-tests--insert-file-interrupt):
    Allow insert-file-contents to return an empty buffer in case of
    non-local exit in set-auto-coding-function.
    fec111c9
Name
Last commit
Last update
..
regex-resources Loading commit data...
alloc-tests.el Loading commit data...
buffer-tests.el Loading commit data...
callint-tests.el Loading commit data...
callproc-tests.el Loading commit data...
casefiddle-tests.el Loading commit data...
charset-tests.el Loading commit data...
chartab-tests.el Loading commit data...
cmds-tests.el Loading commit data...
coding-tests.el Loading commit data...
data-tests.el Loading commit data...
decompress-tests.el Loading commit data...
doc-tests.el Loading commit data...
editfns-tests.el Loading commit data...
emacs-module-tests.el Loading commit data...
eval-tests.el Loading commit data...
fileio-tests.el Loading commit data...
floatfns-tests.el Loading commit data...
fns-tests.el Loading commit data...
font-tests.el Loading commit data...
inotify-tests.el Loading commit data...
json-tests.el Loading commit data...
keyboard-tests.el Loading commit data...
keymap-tests.el Loading commit data...
lcms-tests.el Loading commit data...
lread-tests.el Loading commit data...
marker-tests.el Loading commit data...
minibuf-tests.el Loading commit data...
print-tests.el Loading commit data...
process-tests.el Loading commit data...
regex-emacs-tests.el Loading commit data...
syntax-tests.el Loading commit data...
textprop-tests.el Loading commit data...
thread-tests.el Loading commit data...
timefns-tests.el Loading commit data...
undo-tests.el Loading commit data...
xml-tests.el Loading commit data...