Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
367ee8f4
Commit
367ee8f4
authored
Jul 22, 1993
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/mouse.el
lisp/mouse.el
+1
-1
No files found.
lisp/mouse.el
View file @
367ee8f4
...
@@ -456,7 +456,7 @@ which prepares for a second click to delete the text."
...
@@ -456,7 +456,7 @@ which prepares for a second click to delete the text."
;; Make the undo list by hand so it is shared.
;; Make the undo list by hand so it is shared.
(
if
(
not
(
eq
buffer-undo-list
t
))
(
if
(
not
(
eq
buffer-undo-list
t
))
(
setq
buffer-undo-list
(
setq
buffer-undo-list
(
cons
(
cons
(
car
kill-ring
)
start
)
(
cons
(
cons
(
car
kill-ring
)
(
marker-position
start
)
)
buffer-undo-list
))))
buffer-undo-list
))))
;; Otherwise, save this region.
;; Otherwise, save this region.
(
save-excursion
(
save-excursion
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment