diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-07-22 07:15:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-07-22 07:15:49 +0000 |
commit | 5f0bcfe11f6a7fedcc12b2ffea8078d4f94ce901 (patch) | |
tree | f269dc55f5bf73fe1ca3748f8c02616fa43333f9 /lisp | |
parent | 271a5743ab9489b2cfad85831a9345a274f764ef (diff) | |
download | emacs-5f0bcfe11f6a7fedcc12b2ffea8078d4f94ce901.tar.gz |
(mouse-secondary-save-then-kill): When making the undo item,
use an integer, not a marker, for the position.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mouse.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |