]> git.eshelyaron.com Git - emacs.git/commit
Inline maybe_quit
authorMattias Engdegård <mattiase@acm.org>
Sat, 15 Jan 2022 15:23:09 +0000 (16:23 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 24 Jan 2022 10:41:47 +0000 (11:41 +0100)
commita8b713d83a5544d144c05aa45c465bbe3ebc8789
tree9d2f6fe7e20d9eeff70739c4cdc2b689a9745f2a
parentb7902a9b48f8e7f83ab6b90cfd8bc95aab410e6f
Inline maybe_quit

Since `maybe_quit` is called on many critical paths, inline a slightly
cheaper condition (that ignores Vinhibit_quit).

* src/eval.c (maybe_quit): Rename to `probably_quit`.
* src/lisp.h (maybe_quit): New simplified inline function.
src/ccl.c
src/eval.c
src/lisp.h