core: home buffer, always go to link line
This commit is contained in:
parent
de9d1e72d5
commit
cf682658c9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue