From 1be166dfc7cad835a72e0550cfcafd8ad23aa3f1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 14 Oct 2020 17:03:54 -0700 Subject: [PATCH] Explicitly set the package gnupg home directory on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default way on msys2 produces a directory that isn’t recognized as an absolute path, so it’s interpreted as a relative path. --- oni-package.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ;; 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))