aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/gdb-ui.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 34c13b6948f..5eb44caa7a6 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -504,7 +504,8 @@ otherwise do not."
504 (buffer-string)))) 504 (buffer-string))))
505 ;; remove newline for gud-tooltip-echo-area 505 ;; remove newline for gud-tooltip-echo-area
506 (substring string 0 (- (length string) 1)))) 506 (substring string 0 (- (length string) 1))))
507 (or gud-tooltip-echo-area tooltip-use-echo-area))) 507 (or gud-tooltip-echo-area tooltip-use-echo-area
508 (not (display-graphic-p)))))
508 509
509;; If expr is a macro for a function don't print because of possible dangerous 510;; If expr is a macro for a function don't print because of possible dangerous
510;; side-effects. Also printing a function within a tooltip generates an 511;; side-effects. Also printing a function within a tooltip generates an