From 052d95541df612f692de2d3db0bb6f871b45eec6 Mon Sep 17 00:00:00 2001 From: justbur Date: Tue, 1 Dec 2015 15:02:48 -0500 Subject: [PATCH] core: Improve spacemacs-buffer/goto-link-line --- core/core-spacemacs-buffer.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/core-spacemacs-buffer.el b/core/core-spacemacs-buffer.el index 59f105228..6ad74aea1 100644 --- a/core/core-spacemacs-buffer.el +++ b/core/core-spacemacs-buffer.el @@ -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