* lisp/help-mode.el (help-function-def--button-function): Current
point is saved in the mark ring before jumping to definition.
\f
* Changes in Emacs 29.1
+** Help
+
+---
+*** Jumping to function/variable source now saves mark before moving point.
+Jumping to source from "*Help*" buffer moves the point when the source
+buffer is already open. Now, the old point is pushed to mark ring.
+
\f
* Editing Changes in Emacs 29.1
(when (or (< position (point-min))
(> position (point-max)))
(widen))
+ ;; Save mark for the old location, unless the point is not
+ ;; actually going to move.
+ (unless (= (point) position)
+ (push-mark nil t))
(goto-char position))
(message "Unable to find location in file")))))