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.
This commit is contained in:
@@ -1263,12 +1263,12 @@ maybe_load_seccomp (int argc, char **argv)
|
||||
|
||||
#endif /* SECCOMP_USABLE */
|
||||
|
||||
#if defined HAVE_ANDROID && !defined ANDROID_STUBIFY
|
||||
int
|
||||
android_emacs_init (int argc, char **argv, char *dump_file)
|
||||
#else
|
||||
#if !defined HAVE_ANDROID || defined ANDROID_STUBIFY
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
#else
|
||||
int
|
||||
android_emacs_init (int argc, char **argv, char *dump_file)
|
||||
#endif
|
||||
{
|
||||
/* Variable near the bottom of the stack, and aligned appropriately
|
||||
|
||||
Reference in New Issue
Block a user