1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

(jump-to-register): Handle dead marker.

This commit is contained in:
Karl Heuer 1994-03-22 01:41:10 +00:00
parent 9b8eb840e1
commit 8c4ca60c28

View File

@ -93,6 +93,8 @@ delete any existing frames that the frame configuration doesn't mention.
((window-configuration-p val)
(set-window-configuration val))
((markerp val)
(or (marker-buffer val)
(error "That register's buffer no longer exists"))
(switch-to-buffer (marker-buffer val))
(goto-char val))
((and (consp val) (eq (car val) 'file))