aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2021-02-16 12:31:00 +0200
committerXinglu Chen <public@yoctocell.xyz>2021-02-16 11:54:16 +0100
commit3b029889f49613315f1fc21be9c4549dfd812914 (patch)
treed4d3b40285744a2603fae67ed6d384070aeff045
parentf18cffa68a4c017014c1edf148f56786027c283b (diff)
Placate the compiler about projectile-project-root
-rw-r--r--git-email.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-email.el b/git-email.el
index fd2fd95..4c406a8 100644
--- a/git-email.el
+++ b/git-email.el
@@ -214,6 +214,8 @@ If no marks are found, return the filename at point."
(when (mapcar #'git-email--check-file files)
files)))
+(declare-function projectile-project-root "projectile")
+
(defun git-email--get-current-project ()
"Return the path of the current project.
Falls back to `default-directory'."