core: Improve spacemacs-buffer/goto-link-line

This commit is contained in:
justbur 2015-12-01 15:02:48 -05:00 committed by syl20bnr
parent 812ba329f2
commit 052d95541d
1 changed files with 2 additions and 3 deletions

View File

@ -569,9 +569,8 @@ HPADDING is the horizontal spacing betwee the content line and the frame border.
(interactive)
(with-current-buffer spacemacs-buffer-name
(goto-char (point-min))
(re-search-forward "Homepage")
(beginning-of-line)
(widget-forward 1)))
(with-demoted-errors "spacemacs buffer error: %s"
(widget-forward 1))))
(defun spacemacs-buffer/goto-buffer ()
"Create the special buffer for `spacemacs-buffer-mode' if it doesn't