1
0
Fork 0

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.
This commit is contained in:
Tom Willemse 2020-10-14 17:03:54 -07:00
parent e6e28b3dd1
commit 1be166dfc7

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0514.091828 ;; Version: 2020.1014.170341
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; 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) (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 (require 'oni-package))
;;;###autoload (with-eval-after-load 'package-x (require 'oni-package)) ;;;###autoload (with-eval-after-load 'package-x (require 'oni-package))