]> git.eshelyaron.com Git - emacs.git/commit
Invert preprocessor condition to fix 'C-x 4 a'
authorStefan Kangas <stefankangas@gmail.com>
Mon, 16 Dec 2024 02:26:48 +0000 (03:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:01:22 +0000 (16:01 +0100)
commit7361028434ec3dd5ceb6f2f407b28a6b6566ee3e
treeb8218723f7d6189054d4fa926bbb8a470c0b3b21
parent0ec89b6f626312a487e3c34eb8c64f9d4bb79810
Invert preprocessor condition to fix 'C-x 4 a'

Typing 'C-x 4 a' in the main function now correctly adds 'main' to the
generated ChangeLog, whereas before it added 'andreid_emacs_init'.
Inverting the preprocessor condition seems like an easier fix than
changing the add-change-log-entry-other-window heuristic.

* src/emacs.c (main): Invert preprocessor condition to appease the
'add-change-log-entry-other-window' heuristic.

(cherry picked from commit eaf5bf736e1dd5eb977a16a3f1b3dfd3da3c4612)
src/emacs.c