]> git.eshelyaron.com Git - emacs.git/commit
Refactor to allow nameless auto strings
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jul 2025 02:41:01 +0000 (19:41 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Jul 2025 13:44:13 +0000 (15:44 +0200)
commitec5301ac6be7817c55c55471400a861bab1bf0a4
treefd13ffb6598fb82304f075a56921f84d7eb6f100
parent78527a74851088b4420f30c152f95f7fcfca9826
Refactor to allow nameless auto strings

* src/lisp.h (AUTO_STR, AUTO_STR_WITH_LEN): New macros.
Long ago this sort of thing would have been a no-no
because we needed to GCPRO the strings.
However, GCPRO went away a decade ago.

(cherry picked from commit d7e818608027552aa084eb37e3bf39deedff4921)
src/lisp.h