From c935c76e7e45b3ee3b0f191b3e21e041a6404996 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 19 Jul 2015 13:17:44 -0500 Subject: [PATCH] emacs: Fix reference to directory variable * emacs/guix-emacs.el (guix-emacs-find-autoloads): Fix variable reference to 'elisp-root-dir', which kept the old name of 'dir' despite having been renamed above. This had introduced a bug where a mundane warning would instead cause a variable reference error. --- emacs/guix-emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/guix-emacs.el b/emacs/guix-emacs.el index 4c3aa23..ddcef0a 100644 --- a/emacs/guix-emacs.el +++ b/emacs/guix-emacs.el @@ -69,7 +69,7 @@ Return nil if there are no emacs packages installed in PROFILE." (guix-emacs-subdirs elisp-pkgs-dir)))) (append root-autoloads pkgs-autoloads)) root-autoloads)) - (message "Directory '%s' does not exist." dir) + (message "Directory '%s' does not exist." elisp-root-dir) nil))) ;;;###autoload -- 2.1.4