emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp/progmodes gdb-ui.el


From: Nick Roberts
Subject: [Emacs-diffs] emacs/lisp/progmodes gdb-ui.el
Date: Tue, 28 Apr 2009 10:35:42 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  09/04/28 10:35:42

Modified files:
        lisp/progmodes : gdb-ui.el 

Log message:
        (gdb-tooltip-print): Avoid "Non-X frame used"
        error with gud-tooltip-mode in the Linux console.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/gdb-ui.el?cvsroot=emacs&r1=1.255&r2=1.256

Patches:
Index: gdb-ui.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/gdb-ui.el,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -b -r1.255 -r1.256
--- gdb-ui.el   8 Apr 2009 12:34:00 -0000       1.255
+++ gdb-ui.el   28 Apr 2009 10:35:41 -0000      1.256
@@ -504,7 +504,8 @@
              (buffer-string))))
        ;; remove newline for gud-tooltip-echo-area
        (substring string 0 (- (length string) 1))))
-   (or gud-tooltip-echo-area tooltip-use-echo-area)))
+   (or gud-tooltip-echo-area tooltip-use-echo-area
+   (not (display-graphic-p)))))
 
 ;; If expr is a macro for a function don't print because of possible dangerous
 ;; side-effects. Also printing a function within a tooltip generates an




reply via email to

[Prev in Thread] Current Thread [Next in Thread]