]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-secondary-save-then-kill): When making the undo item,
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 07:15:49 +0000 (07:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Jul 1993 07:15:49 +0000 (07:15 +0000)
use an integer, not a marker, for the position.

lisp/mouse.el

index 03beeac69bab4f15b0c8b066968c163344890877..a7e14a021df769d5c8f65df2c8394bbd15226f4c 100644 (file)
@@ -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