]> git.eshelyaron.com Git - emacs.git/commit
Turn gdb-wait-for-pending into a plain function
authorMattias Engdegård <mattiase@acm.org>
Wed, 18 Nov 2020 09:55:41 +0000 (10:55 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 18 Nov 2020 12:51:55 +0000 (13:51 +0100)
commitd5ac6679df4925ef51cc0f299af2a84f27faafe7
tree6ce8bf916dd74bd87c95eaf012e88e816e9e7d54
parent88d5b1d3253728bd314de36544996aa15345bd29
Turn gdb-wait-for-pending into a plain function

This avoids unnecessary body duplication in expansion and macro
recursion (causing macro-expansions at runtime), making it clearer
what is going on.

* lisp/progmodes/gdb-mi.el (gdb-wait-for-pending): Make it a function,
remove lambda quoting,  η-reduce and simplify.
(gdb-thread-exited, gdb-thread-selected): Adapt callers.
lisp/progmodes/gdb-mi.el