[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] emacs: Fix reference to directory variable
From: |
Christopher Allan Webber |
Subject: |
[PATCH] emacs: Fix reference to directory variable |
Date: |
Sun, 19 Jul 2015 13:23:02 -0500 |
Hello,
I noticed that guix's emacs mode contained a bug which prevented my full
emacs config from loading... turns out it was due to a variable
reference to a variable which had recently been renamed, thus turning a
small warning message into an unintentional error! :)
A small fix is below.
- Chris
>From c935c76e7e45b3ee3b0f191b3e21e041a6404996 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <address@hidden>
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
- [PATCH] emacs: Fix reference to directory variable,
Christopher Allan Webber <=