emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/mouse.el
Date: Mon, 13 Feb 2006 18:47:18 +0000

Index: emacs/lisp/mouse.el
diff -u emacs/lisp/mouse.el:1.295 emacs/lisp/mouse.el:1.296
--- emacs/lisp/mouse.el:1.295   Wed Feb  8 20:47:24 2006
+++ emacs/lisp/mouse.el Mon Feb 13 18:47:18 2006
@@ -481,21 +481,8 @@
 
                 ;; grow/shrink minibuffer?
                 (if should-enlarge-minibuffer
-                    (progn
-                      ;; yes.  briefly select minibuffer so
-                      ;; enlarge-window will affect the
-                      ;; correct window.
-                      (select-window minibuffer)
-                      ;; scale back shrinkage if it would
-                      ;; make the minibuffer less than 1
-                      ;; line tall.
-                      (if (and (> growth 0)
-                               (< (- (window-height minibuffer)
-                                     growth)
-                                  1))
-                          (setq growth (1- (window-height minibuffer))))
-                      (enlarge-window (- growth))
-                      (select-window start-event-window))
+                    (unless resize-mini-windows
+                      (mouse-drag-move-window-bottom start-event-window 
growth))
                   ;; no.  grow/shrink the selected window
                   ;(message "growth = %d" growth)
                   (if mode-line-p




reply via email to

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