summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-12-01 11:06:39 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-12-01 11:06:39 +0100
commit692057e47a19be54cbe93ee63840149c3fe97140 (patch)
treec7f2341f2593f7e181607ce04ca407998086a52d /.config/emacs/init.el
parentfff157d010d7df2572a48ea5be2acbd8788510a6 (diff)
emacs: Set default value for ‘package-gnupghome-dir’
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 99e99de..0c028ed 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -122,8 +122,9 @@ buffer suppressed."
(setopt
package-vc-register-as-project nil
- package-gnupghome-dir (getenv "GNUPGHOME")
package-user-dir (expand-file-name "pkg" mm-data-directory)
+ package-gnupghome-dir (or (getenv "GNUPGHOME")
+ (expand-file-name "gnupg" package-user-dir))
package-archives (cl-loop with proto = (if (gnutls-available-p) "https" "http")
for (name . url) in
'(("gnu" . "elpa.gnu.org/packages/")