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 () (defun spacemacs-buffer/goto-link-line ()
"Move the point to the beginning of the link line." "Move the point to the beginning of the link line."
(interactive) (interactive)
(when (and dotspacemacs-startup-banner (with-current-buffer spacemacs-buffer-name
(not configuration-layer-error-count)) (goto-char (point-min))
(with-current-buffer spacemacs-buffer-name (re-search-forward "Homepage")
(goto-char (point-min)) (beginning-of-line)
(re-search-forward "Homepage") (widget-forward 1)))
(beginning-of-line)
(widget-forward 1))))
(provide 'core-spacemacs-buffer) (provide 'core-spacemacs-buffer)