]> git.eshelyaron.com Git - emacs.git/commit
Ignore pending_signals when checking for quits.
authorPhilipp Stephani <p.stephani2@gmail.com>
Wed, 2 Jan 2019 21:22:18 +0000 (22:22 +0100)
committerPhilipp Stephani <phst@google.com>
Wed, 7 Aug 2019 16:16:36 +0000 (18:16 +0200)
commitb83f83ccd47997b7fd581026d4e1b124fa4fefc2
tree4cf0dc952e78141fbaa6fa3d9329a8f1ca0335e1
parente7818cb73ff042cb557332c7ea954fd512c87f69
Ignore pending_signals when checking for quits.

pending_signals is often set if no quit is pending.  This results in
bugs in module code if the module returns but no quit is actually
pending.

* src/emacs-module.c (module_should_quit): Use QUITP macro to check
whether the caller should quit.

* src/eval.c: Remove obsolete comment.
src/emacs-module.c
src/eval.c