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:
parent
9b8eb840e1
commit
8c4ca60c28
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user