core: move point before [ S P A C E M A C S ] at startup

Avoid having multiple "Open quick help..." in the minibuffer at startup.
This commit is contained in:
syl20bnr 2018-06-10 03:05:35 -04:00
parent ac247396f3
commit 86b4e6f76b
1 changed files with 2 additions and 1 deletions

View File

@ -975,7 +975,8 @@ SEQ, START and END are the same arguments as for `cl-subseq'"
(with-current-buffer spacemacs-buffer-name
(goto-char (point-min))
(with-demoted-errors "spacemacs buffer error: %s"
(widget-forward 1))))
(search-forward "[")
(left-char 2))))
(defun spacemacs-buffer//startup-hook ()
"Code executed when Emacs has finished loading."