aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-09-16 21:41:36 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-09-16 21:41:36 +0200
commitd6593a4e36cef70ff206c0243646975774b4872b (patch)
tree0141ccd715f450843051d3e22a9991e8e030fdea /lisp/magit.el
parent569583c44170848a77272964e7231f24833284c5 (diff)
Require dired, message and epa directly
We require `vc-git' for some minor functionality. Loading that took care of making some of our own dependencies available. Emacs commit [1: 2ee74aca554] stops requiring `message', and as a result we now have to require that and `dired' and `epa' in the appropriate places ourselves. 1: 2025-09-12 2ee74aca554786c20193b528363eb426e4f7f65c Delete obsolete log-edit-beginning-of-line
Diffstat (limited to 'lisp/magit.el')
-rw-r--r--lisp/magit.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/magit.el b/lisp/magit.el
index ee38e94..a4773f5 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -69,15 +69,11 @@
(require 'magit-repos)
(require 'git-commit)
+(require 'epa) ;used in magit-read-gpg-{secret,signing}-key
(require 'format-spec)
(require 'package nil t) ; used in `magit-version'
(require 'with-editor)
-;; For `magit:--gpg-sign'
-(declare-function epg-list-keys "epg" (context &optional name mode))
-(declare-function epg-decode-dn "epg" (alist))
-(defvar epa-protocol)
-
;;; Options
(defcustom magit-openpgp-default-signing-key nil