Commit 657e54f7 authored by Barry O'Reilly's avatar Barry O'Reilly

Addendum to: Undo in region after markers in undo history relocated

* simple.el (primitive-undo): Correction to 2014-03-24 change.

Fixes: debbugs:16818
parent 75b7e407
2014-03-25 Barry O'Reilly <>
* simple.el (primitive-undo): Correction to 2014-03-24 change.
2014-03-25 Michael Albinus <>
* net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
......@@ -2321,9 +2321,10 @@ Return what remains of the list."
;; Even though these elements are not expected in the undo
;; list, adjust them to be conservative for the 24.4
;; release. (Bug#16818)
(set-marker marker
(- marker offset)
(marker-buffer marker)))
(when (marker-buffer marker)
(set-marker marker
(- marker offset)
(marker-buffer marker))))
(_ (error "Unrecognized entry in undo list %S" next))))
(setq arg (1- arg)))
;; Make sure an apply entry produces at least one undo entry,
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