]> git.eshelyaron.com Git - emacs.git/commit
gdb-mi: use lexical lambdas
authorMattias Engdegård <mattiase@acm.org>
Mon, 26 Oct 2020 21:02:55 +0000 (22:02 +0100)
committerMattias Engdegård <mattiase@acm.org>
Tue, 27 Oct 2020 18:10:25 +0000 (19:10 +0100)
commit3a6d55b7922ff2d71b91b54812219ee9dcc33649
tree54724c2a899996e826bde4e20155549b58fa567e
parent5a2b03043c767f219dcf5b14819cb8dede0e6e0c
gdb-mi: use lexical lambdas

* lisp/progmodes/gdb-mi.el (gdb-tooltip-print-1, gud-watch)
(gdb-var-list-children, gdb-edit-value)
(gdb-bind-function-to-buffer, gdb-place-breakpoints)
(gdb-preempt-existing-or-display-buffer):
Expose lambdas to the compiler as lexical closures instead of building
them the old-fashioned way.  Remove #' before lambda.
lisp/progmodes/gdb-mi.el