changeset 4200:3f5f55401364

(mouse-drag-region): Use deactivate-mark.
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Jul 1993 07:40:12 +0000
parents 86d3758ff85b
children 8b53e0fa08b4
files lisp/mouse.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Wed Jul 21 04:37:46 1993 +0000
+++ b/lisp/mouse.el	Wed Jul 21 07:40:12 1993 +0000
@@ -173,7 +173,7 @@
     (move-overlay mouse-drag-overlay
 		  start-point start-point
 		  (window-buffer start-window))
-    (setq mark-active nil)
+    (deactivate-mark)
     (let (event end end-point)
       (track-mouse
 	(while (progn
@@ -221,7 +221,7 @@
 	       (numberp (posn-point (event-end event))))
 	  (goto-char (posn-point (event-end event))))
       (if (= (point) start-point)
-	  (setq mark-active nil)
+	  (deactivate-mark)
 	(set-mark start-point))
       (delete-overlay mouse-drag-overlay))))