branch: elpa/cider
commit 6915d54f7c3c128ea117676c4e9d8146c32f2d61
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Make two implicit module dependencies explicit
`cider-profile' calls `cider-symbol-at-point' (from `cider-util') and
`cider-mode' references the enlighten menu commands and
`cider-enlightened-face' (from `cider-enlighten', extracted this cycle),
but neither file required the module it leans on - both worked only
because the module happened to be loaded transitively.
Add the requires. `cider-enlighten' joins the existing "required only for
the menu" group in `cider-mode', and pulls in no new transitive deps
(its dependencies are already loaded by that point).
---
lisp/cider-mode.el | 1 +
lisp/cider-profile.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/lisp/cider-mode.el b/lisp/cider-mode.el
index ea7ed4039d..7ec203fa53 100644
--- a/lisp/cider-mode.el
+++ b/lisp/cider-mode.el
@@ -41,6 +41,7 @@
(require 'cider-resolve)
(require 'cider-doc) ; required only for the menu
(require 'cider-profile) ; required only for the menu
+(require 'cider-enlighten) ; for the menu entries and `cider-enlightened-face'
(require 'cider-completion)
(require 'cider-completion-context)
(require 'cider-inspector)
diff --git a/lisp/cider-profile.el b/lisp/cider-profile.el
index fdc29f3ded..2049108d84 100644
--- a/lisp/cider-profile.el
+++ b/lisp/cider-profile.el
@@ -29,6 +29,7 @@
(require 'cider-popup)
(require 'cider-eval)
(require 'cider-inspector)
+(require 'cider-util) ; for `cider-symbol-at-point'
(require 'transient)