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

View file

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