]> git.eshelyaron.com Git - emacs.git/commit
Streamline init_callproc a bit
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jul 2025 02:44:48 +0000 (19:44 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Jul 2025 13:44:17 +0000 (15:44 +0200)
commit0cff403a1f79cfe333f8fa01194f92a61e179be4
tree4e6affd354f890bd67e3c9d93ac12368160f7b2f
parentec5301ac6be7817c55c55471400a861bab1bf0a4
Streamline init_callproc a bit

* src/callproc.c (init_callproc): Don’t bother testing for the
existence of ../src/ and NEWS if installation-directory is
non-nil, because in that case we will test for ../etc/NEWS anyway.
Simplify by using AUTO_STR.

(cherry picked from commit c403bc4d51e8466833ff728fddcca7ffe69740ee)
src/callproc.c