]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-drag-secondary): Don't treat end of buffer
authorRichard M. Stallman <rms@gnu.org>
Thu, 30 Jun 1994 04:49:26 +0000 (04:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 30 Jun 1994 04:49:26 +0000 (04:49 +0000)
specially when within the window.

lisp/mouse.el

index e2892dc42089bda73dbb80c718b507366e2f9ac0..231568bb8ea359178499d6d408f26b3ca0686d24 100644 (file)
@@ -629,8 +629,7 @@ This must be bound to a button-down mouse event."
               ;; Are we moving within the original window?
               ((and (eq (posn-window end) start-window)
                     (integer-or-marker-p end-point))
-               (if (/= start-point end-point)
-                   (set-marker mouse-secondary-start nil))
+               (set-marker mouse-secondary-start nil)
                (let ((range (mouse-start-end start-point end-point
                                              click-count)))
                  (move-overlay mouse-secondary-overlay