aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-10-14 17:03:54 -0700
committerGravatar Tom Willemse2020-10-15 14:25:18 -0700
commit1be166dfc7cad835a72e0550cfcafd8ad23aa3f1 (patch)
tree915f5592a7546c852a1d7d84f4523f1e5805627c
parente6e28b3dd175eb1344a89806e5863b0d60d7ff31 (diff)
downloademacs-config-1be166dfc7cad835a72e0550cfcafd8ad23aa3f1.tar.gz
emacs-config-1be166dfc7cad835a72e0550cfcafd8ad23aa3f1.zip
Explicitly set the package gnupg home directory on Windows
The default way on msys2 produces a directory that isn’t recognized as an absolute path, so it’s interpreted as a relative path.
-rw-r--r--oni-package.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-package.el b/oni-package.el
index 1d1d92a..6425e03 100644
--- a/oni-package.el
+++ b/oni-package.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2020.0514.091828
+;; Version: 2020.1014.170341
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -110,6 +110,9 @@ DESCRIPTION is the text of the news item."
(add-hook 'package-menu-mode-hook 'hl-line-mode)
+(when (eql system-type 'windows-nt)
+ (setq package-gnupghome-dir "/c/Users/WillemsenT/.emacs.d/elpa/gnupg"))
+
;;;###autoload (with-eval-after-load 'package (require 'oni-package))
;;;###autoload (with-eval-after-load 'package-x (require 'oni-package))