core: home buffer, always go to link line

This commit is contained in:
syl20bnr 2015-07-29 22:07:07 -04:00
parent de9d1e72d5
commit cf682658c9
1 changed files with 5 additions and 7 deletions

View File

@ -508,12 +508,10 @@ HPADDING is the horizontal spacing betwee the content line and the frame border.
(defun spacemacs-buffer/goto-link-line ()
"Move the point to the beginning of the link line."
(interactive)
(when (and dotspacemacs-startup-banner
(not configuration-layer-error-count))
(with-current-buffer spacemacs-buffer-name
(goto-char (point-min))
(re-search-forward "Homepage")
(beginning-of-line)
(widget-forward 1))))
(with-current-buffer spacemacs-buffer-name
(goto-char (point-min))
(re-search-forward "Homepage")
(beginning-of-line)
(widget-forward 1)))
(provide 'core-spacemacs-buffer)