From a1686c00d0e4550228673e9f2b95b7c1c0662be8 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Mon, 22 Jun 2020 01:49:20 +0300 Subject: [PATCH] Forward declare eshell-buffer-name in project-eshell * lisp/progmodes/project.el: Forward declare 'eshell-buffer-name' so that 'project-eshell' can use dynamically scoping with it. --- lisp/progmodes/project.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 5f4bfdf9b89..604882af8a5 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -740,6 +740,7 @@ switch to it. Otherwise, create a new Eshell buffer. With \\[universal-argument] prefix arg, create a new Eshell buffer even if one already exists." (interactive) + (defvar eshell-buffer-name) (let* ((default-directory (project-root (project-current t))) (eshell-buffer-name (concat "*" (file-name-nondirectory -- 2.39.5