Commit 8c4ca60c authored by Karl Heuer's avatar Karl Heuer
Browse files

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

parent 9b8eb840
......@@ -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))
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