aboutsummaryrefslogtreecommitdiff
path: root/lisp/git-commit.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2018-02-02 12:02:38 +0100
committerJonas Bernoulli <jonas@bernoul.li>2018-02-02 12:21:39 +0100
commit10fe410f5a833fc10a3ff8e444bb35802ea8cb02 (patch)
treeccf952259e79d2516413b087a50efe72483c63cd /lisp/git-commit.el
parent8d9afa3a18ccfdc641cf604f688eefb681a0b449 (diff)
Consolidate function declarations and compile-time imports
By the way, in order to get the number of false-positives down to only three, one has to teach `check-declare-verify' about `cl-defun'.
Diffstat (limited to 'lisp/git-commit.el')
-rw-r--r--lisp/git-commit.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index ad0788b..499e5e0 100644
--- a/lisp/git-commit.el
+++ b/lisp/git-commit.el
@@ -129,9 +129,10 @@
(defvar font-lock-beg)
(defvar font-lock-end)
-(declare-function magit-expand-git-file-name 'magit-git)
-(declare-function magit-list-local-branch-names 'magit-git)
-(declare-function magit-list-remote-branch-names 'magit-git)
+(declare-function magit-expand-git-file-name "magit-git" (filename))
+(declare-function magit-list-local-branch-names "magit-git" ())
+(declare-function magit-list-remote-branch-names "magit-git"
+ (&optional remote relative))
;;; Options
;;;; Variables