emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/tooltip.el


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/lisp/tooltip.el
Date: Mon, 21 Mar 2005 17:16:23 -0500

Index: emacs/lisp/tooltip.el
diff -c emacs/lisp/tooltip.el:1.42 emacs/lisp/tooltip.el:1.43
*** emacs/lisp/tooltip.el:1.42  Thu Mar 10 14:45:31 2005
--- emacs/lisp/tooltip.el       Mon Mar 21 22:16:22 2005
***************
*** 454,460 ****
                    expr)))))))
  
  (defun gdb-tooltip-print ()
!   (tooltip-show 
     (with-current-buffer (gdb-get-buffer 'gdb-partial-output-buffer)
       (let ((string (buffer-string)))
         ;; remove newline for tooltip-use-echo-area
--- 454,460 ----
                    expr)))))))
  
  (defun gdb-tooltip-print ()
!   (tooltip-show
     (with-current-buffer (gdb-get-buffer 'gdb-partial-output-buffer)
       (let ((string (buffer-string)))
         ;; remove newline for tooltip-use-echo-area
***************
*** 477,482 ****
--- 477,483 ----
               (string-match "^mouse-2" msg))
             (setq mp (mouse-pixel-position))
             (consp (setq pos (cdr mp)))
+            (car pos) (cdr pos)
             (setq pos (posn-at-x-y (car pos) (cdr pos) (car mp)))
             (windowp (posn-window pos)))
        (with-current-buffer (window-buffer (posn-window pos))




reply via email to

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