From: Richard M. Stallman Date: Thu, 22 Jul 1993 07:15:49 +0000 (+0000) Subject: (mouse-secondary-save-then-kill): When making the undo item, X-Git-Tag: emacs-19.34~11630 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=367ee8f4d046adfaf5a580f0c988550e5ccb6253;p=emacs.git (mouse-secondary-save-then-kill): When making the undo item, use an integer, not a marker, for the position. --- 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