aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-02-09 12:10:39 +0100
committerXinglu Chen <public@yoctocell.xyz>2021-02-09 12:10:39 +0100
commiteabdc2dc5c07cd38784d1c23c504676429e05a15 (patch)
treecf34f33782b4f71c31c8bf381762d6b496bc6f7d
parentb3b837cc730f6040f21a6b612c035f5129d02a89 (diff)
Add `:package-version` to all defcustoms
Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
-rw-r--r--git-email.el42
1 files changed, 28 insertions, 14 deletions
diff --git a/git-email.el b/git-email.el
index 3837d8b..bd2a1b3 100644
--- a/git-email.el
+++ b/git-email.el
@@ -47,22 +47,26 @@
(defcustom git-email-compose-email-function #'message-mail
"The function used to compose patch mail."
:type 'function
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-send-email-function #'message-send-and-exit
"The function used to send mail."
:type 'function
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-pre-compose-email-hook nil
"A list of functions called before running `git-email--compose-email'."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-post-compose-email-hook nil
"A list of functions called after running `git-email--compose-email'."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-headers
'(subject from cc in-reply-to message-id references)
@@ -72,14 +76,16 @@ The 'to' address will always be inserted based on the
'sendemail.to' variable in you git config. If the variable is
not set, the 'to' address will be empty."
:type '(symbol)
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.2.0"))
(defcustom git-email-get-current-project-functions
'(git-email--get-current-project)
"Hooks to run to get the path to the current project.
The path should end with a trailing \"/\"."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.2.0"))
(defcustom git-email-get-files-functions
'(git-email--dired-files
@@ -87,18 +93,21 @@ The path should end with a trailing \"/\"."
git-email--vc-dir-files)
"An list of functions to for getting a list of patches to send."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-get-to-address-functions
'(git-email--get-to-address)
"Functions to run to get the \"to\" address of a message."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-format-patch-default-args ""
"Default arguments to give to 'git format-patch'."
:type 'string
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-format-patch-extra-args
'("--cover-letter"
@@ -116,30 +125,35 @@ The path should end with a trailing \"/\"."
"--in-reply-to=")
"List of arguments to display in `git-email-format-patch'."
:type '(string)
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.2.0"))
(defcustom git-email-revision-limit 100
"How many revisions to show when in `git-email-format-patch'."
:type 'int
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-revision-command
"git log --no-color --pretty='format:%h %d %s' --abbrev-commit -n "
"Command to run to get a list of revisions."
:type 'string
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.1.0"))
(defcustom git-email-revision-parser #'git-email--parse-revision
"Function for parsing the output of ‘git-email-revision-command’."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.2.0"))
(defcustom git-email-get-revision-functions '(git-email--log-get-revision)
"List of functions to get the base commit for 'git format-patch'.
If none of the functions return non-nil value,
`git-email--minibuffer-get-revision' will be used as a fallback."
:type 'hook
- :group 'git-email)
+ :group 'git-email
+ :package-version '(git-email . "0.2.0"))
;;;; Remove Compiler warnings