]> git.eshelyaron.com Git - emacs.git/commit
Refactor by coalescing MAX_RW_COUNT definitions
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 20 Jul 2025 16:37:51 +0000 (09:37 -0700)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Jul 2025 08:11:40 +0000 (10:11 +0200)
commit26034f34c7bf07a10755973e440fd02ddc966db2
tree07373e48fdc01b56f643d7cd5f4b1c416ecec919
parent557980512d3b4b73b5bad237d50e11de67fcf3e0
Refactor by coalescing MAX_RW_COUNT definitions

* src/emacs.c (read_full):
Simplify by assuming MAX_RW_COUNT is defined.
* src/lisp.h (MAX_RW_COUNT): Move here from src/sysdep.c.
* src/pdumper.c (dump_read_all):
Use MAX_RW_COUNT rather than defining our own equivalent.

(cherry picked from commit 46314aef87fbda25e0a7fb5055624dc1c6e90ad9)
src/emacs.c
src/lisp.h
src/pdumper.c
src/sysdep.c