Fix go to init function in helm-spacemacs
The function may fail when looking for an init function in the current buffer.
This commit is contained in:
parent
605389bcc7
commit
460b3eb063
|
@ -113,6 +113,7 @@
|
|||
layer)))
|
||||
(filename (concat path "packages.el")))
|
||||
(find-file filename)
|
||||
(goto-char (point-min))
|
||||
(re-search-forward (format "init-%s" package))
|
||||
(beginning-of-line))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue