Commit 367ee8f4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mouse-secondary-save-then-kill): When making the undo item,

use an integer, not a marker, for the position.
parent 26d86f19
......@@ -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))
;; Otherwise, save this region.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment