]> git.eshelyaron.com Git - emacs.git/commit
insert-file-contents end offset infinity
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jul 2025 19:22:45 +0000 (12:22 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 08:48:37 +0000 (10:48 +0200)
commitac43febdbdb69c3fb2eddf41ab537deb6b790b3a
treea043e126b7088d18f44d139d6c1b15fde087c8e9
parentb74c55536cead1233b2a0df6518d79c9a1c920f6
insert-file-contents end offset infinity

* src/fileio.c (Finsert_file_contents): Simplify end_offset
calculation by defaulting to effectively infinity.

(cherry picked from commit 73ab98a8a2d7b5f990d464f140436ac831883397)
src/fileio.c