From 304506edcc94dcd9a4cc0a11ef5759075b454b48 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 19 Nov 2019 19:09:44 -0500 Subject: [PATCH] Fix first envvar set by doom-load-envvar-file Potentially fixes #2077 --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 9a6f017db..6bc56a172 100644 --- a/core/core.el +++ b/core/core.el @@ -441,7 +441,7 @@ in interactive sessions, nil otherwise (but logs a warning)." (save-excursion (insert "\n") (insert-file-contents file)) - (while (re-search-forward "\n *\\([^#][^= \n]*\\)=" nil t) + (while (re-search-forward "\n *\\([^#= \n]*\\)=" nil t) (push (buffer-substring (match-beginning 1) (1- (or (save-excursion