changeset 4221:829413cfe196

(mouse-secondary-save-then-kill): When making the undo item, use an integer, not a marker, for the position.
author Richard M. Stallman <rms@gnu.org>
date Thu, 22 Jul 1993 07:15:49 +0000
parents c89f55065260
children 6a8d48a6ac10
files lisp/mouse.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Thu Jul 22 06:20:40 1993 +0000
+++ b/lisp/mouse.el	Thu Jul 22 07:15:49 1993 +0000
@@ -456,7 +456,7 @@
 	  ;; Make the undo list by hand so it is shared.
 	  (if (not (eq buffer-undo-list t))
 	      (setq buffer-undo-list
-		    (cons (cons (car kill-ring) start)
+		    (cons (cons (car kill-ring) (marker-position start))
 			  buffer-undo-list))))
       ;; Otherwise, save this region.
       (save-excursion