Function: goto-last-change-reverse
goto-last-change-reverse is an autoloaded, interactive and
byte-compiled function defined in goto-chg.el.
Signature
(goto-last-change-reverse ARG)
Documentation
Go back to more recent changes after M-x goto-last-change (goto-last-change) have been used.
See goto-last-change for use of prefix argument.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/goto-chg-20240407.1110/goto-chg.el
;;;###autoload
(defun goto-last-change-reverse (arg)
"Go back to more recent changes after \\[goto-last-change] have been used.
See `goto-last-change' for use of prefix argument."
(interactive "P")
;; Negate arg, all kinds
(cond ((eq arg nil) (setq arg '-))
((eq arg '-) (setq arg nil))
((listp arg) (setq arg (list (- (car arg)))))
(t (setq arg (- arg))))
;; Make 'goto-last-change-reverse' look like 'goto-last-change'
(cond ((eq last-command this-command)
(setq last-command 'goto-last-change)))
(setq this-command 'goto-last-change)
;; Call 'goto-last-change' to do the job
(goto-last-change arg))