summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-22 07:15:49 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-22 07:15:49 +0000
commit5f0bcfe11f6a7fedcc12b2ffea8078d4f94ce901 (patch)
treef269dc55f5bf73fe1ca3748f8c02616fa43333f9 /lisp
parent271a5743ab9489b2cfad85831a9345a274f764ef (diff)
downloademacs-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.el2
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