summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-mi.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-05-18 20:21:51 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2021-05-18 20:21:51 -0400
commit942cbc4deaa6c3ec9b142e6d27f92516097ac24b (patch)
treecf2c42adbd51f31ecbb2facc542b0b57d8478c37 /lisp/progmodes/gdb-mi.el
parent09ed51b9c89390059ccae30c0ae5dc39bc20523b (diff)
downloademacs-942cbc4deaa6c3ec9b142e6d27f92516097ac24b.tar.gz
* lisp/progmodes/gud.el (gud-tooltip-tips): Use proper closures
Also prefer #' to quote function names. (jdb): Fix $ => \'.
Diffstat (limited to 'lisp/progmodes/gdb-mi.el')
-rw-r--r--lisp/progmodes/gdb-mi.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 8e6ce3d2696..aa3365278cc 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -101,6 +101,19 @@
(declare-function speedbar-delete-subblock "speedbar" (indent))
(declare-function speedbar-center-buffer-smartly "speedbar" ())
+;; FIXME: The declares below are necessary because we don't call `gud-def'
+;; at toplevel, so the compiler doesn't know under which circumstances
+;; they're defined.
+(declare-function gud-until "gud" (arg))
+(declare-function gud-print "gud" (arg))
+(declare-function gud-down "gud" (arg))
+(declare-function gud-up "gud" (arg))
+(declare-function gud-jump "gud" (arg))
+(declare-function gud-finish "gud" (arg))
+(declare-function gud-next "gud" (arg))
+(declare-function gud-stepi "gud" (arg))
+(declare-function gud-tbreak "gud" (arg))
+
(defvar tool-bar-map)
(defvar speedbar-initial-expansion-list-name)
(defvar speedbar-frame)