Fix 'garbage-collect-maybe'

* src/alloc.c (Fgarbage_collect_maybe): No longer interactive.
(Bug#47805)
This commit is contained in:
Eli Zaretskii 2021-04-15 22:00:19 +03:00
parent c237209643
commit 3b84f8f47c

View file

@ -6248,7 +6248,7 @@ For further details, see Info node `(elisp)Garbage Collection'. */)
}
DEFUN ("garbage-collect-maybe", Fgarbage_collect_maybe,
Sgarbage_collect_maybe, 1, 1, "",
Sgarbage_collect_maybe, 1, 1, 0,
doc: /* Call `garbage-collect' if enough allocation happened.
FACTOR determines what "enough" means here:
If FACTOR is a positive number N, it means to run GC if more than