emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin da4fd19497: New environment variable ELPA_DEBUG


From: Stefan Kangas
Subject: [elpa] elpa-admin da4fd19497: New environment variable ELPA_DEBUG
Date: Fri, 31 Dec 2021 23:33:49 -0500 (EST)

branch: elpa-admin
commit da4fd19497747c9a15accca9d3db73879f116fbf
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    New environment variable ELPA_DEBUG
    
    * elpa-admin.el (elpaa--debug): Change default to value of
    environment variable ELPA_DEBUG.
---
 elpa-admin.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index e37549f55f..b4ad318ef6 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -73,7 +73,8 @@ If nil, don't build the docs in the first place.
 Directory is relative to the tarball directory.
 Can be set in elpa-config via `doc-dir'.")
 
-(defvar elpaa--debug nil)
+(defvar elpaa--debug (getenv "ELPA_DEBUG")
+  "Non-nil means to print debug messages.")
 
 (defvar elpaa--org-export-options
   '(:with-author nil :with-creator nil :with-broken-links t)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]