From 367ee8f4d046adfaf5a580f0c988550e5ccb6253 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 22 Jul 1993 07:15:49 +0000 Subject: [PATCH] (mouse-secondary-save-then-kill): When making the undo item, use an integer, not a marker, for the position. --- lisp/mouse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mouse.el b/lisp/mouse.el index 03beeac69ba..a7e14a021df 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -456,7 +456,7 @@ which prepares for a second click to delete the text." ;; 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 -- 2.39.5