emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: mouse-drag-region when mouse-autoselect-window is set to t


From: Richard Stallman
Subject: Re: mouse-drag-region when mouse-autoselect-window is set to t
Date: Thu, 23 Dec 2004 14:32:34 -0500

This fixed it for me; does it work well for you?

*** mouse.el    19 Dec 2004 04:39:57 -0500      1.260
--- mouse.el    23 Dec 2004 10:10:55 -0500      
***************
*** 754,760 ****
  
  If the click is in the echo area, display the `*Messages*' buffer."
    (interactive "e")
!   (let ((w (posn-window (event-start start-event))))
      (if (not (or (not (window-minibuffer-p w))
                 (minibuffer-window-active-p w)))
        (save-excursion
--- 754,761 ----
  
  If the click is in the echo area, display the `*Messages*' buffer."
    (interactive "e")
!   (let ((w (posn-window (event-start start-event)))
!       (mouse-autoselect-window nil))
      (if (not (or (not (window-minibuffer-p w))
                 (minibuffer-window-active-p w)))
        (save-excursion




reply via email to

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