branch: elpa/javelin
commit 7dfa8b56ed330881af1c4c5f2e68b53676ca3994
Author: Damian Barabonkov <[email protected]>
Commit: Damian Barabonkov <[email protected]>
chore: Add optional dependency declarations
---
javelin.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/javelin.el b/javelin.el
index 676b1e67f96..acb03dd4ba2 100644
--- a/javelin.el
+++ b/javelin.el
@@ -33,6 +33,14 @@
(require 'f)
(require 'subr-x)
+(require 'cl-lib)
+(require 'project)
+
+;; Since these are optional, simply declare the external functions
+;; that may or may not be available
+(declare-function projectile-project-root "projectile")
+(declare-function projectile-project-name "projectile")
+(declare-function magit-get-current-branch "magit")
;;; Code: