summaryrefslogtreecommitdiff
path: root/mailscripts.el
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-18 23:07:55 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-18 23:20:26 -0700
commit27fd09aaa26563f0c8f0b6fc6481cc646015e25c (patch)
tree5e39e4458f771237f24412598097af86fbe80206 /mailscripts.el
parent1fe052ae27003e43bf102ceeec019f69288746d8 (diff)
downloadmailscripts-27fd09aaa26563f0c8f0b6fc6481cc646015e25c.tar.gz
mailscripts.el: add declarations to fix byte compilation warnings
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'mailscripts.el')
-rw-r--r--mailscripts.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/mailscripts.el b/mailscripts.el
index 872414a..e255aec 100644
--- a/mailscripts.el
+++ b/mailscripts.el
@@ -279,6 +279,14 @@ See also the interactive wrapper command `mailscripts-prepare-patch'."
(notmuch-user-agent (mailscripts--gfp-drafts-notmuch args))
(t (user-error "Unsupported mail-user-agent `%s'" mail-user-agent)))))
+(declare-function gnus-summary-header "gnus-score")
+(declare-function gnus-summary-goto-article "gnus-sum")
+(declare-function gnus-summary-copy-article "gnus-sum")
+(declare-function gnus-summary-exit-no-update "gnus-sum")
+(declare-function gnus-uu-mark-buffer "gnus-uu")
+(declare-function gnus-group-read-group "gnus-group")
+(declare-function gnus-group-read-ephemeral-group "gnus-group")
+
(defun mailscripts--gfp-drafts-gnus (args)
(let* ((temp (make-temp-file "patches"))
(group (concat "nndoc+ephemeral:" temp))
@@ -338,6 +346,10 @@ See also the interactive wrapper command `mailscripts-prepare-patch'."
(concat mailscripts-extract-patches-branch-prefix branch)
branch))))))
+(defvar projectile-known-projects)
+(declare-function project-prompt-project-dir "project")
+(declare-function projectile-completing-read "projectile")
+
(defun mailscripts--project-repo-and-branch (f &rest args)
(let ((repo (cl-case mailscripts-project-library
(project