Commit b42fbbc6 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-{clone,remote-add}-set-branch.pushDefault: fix Custom type

parent c34d1a69
...@@ -40,9 +40,9 @@ If t, then set without asking. If nil, then don't set. If ...@@ -40,9 +40,9 @@ If t, then set without asking. If nil, then don't set. If
`ask', then ask." `ask', then ask."
:package-version '(magit . "2.4.0") :package-version '(magit . "2.4.0")
:group 'magit-commands :group 'magit-commands
:type '(choice (const "set" t) :type '(choice (const :tag "set" t)
(const "ask" ask) (const :tag "ask" ask)
(const "don't set" nil))) (const :tag "don't set" nil)))
;;;###autoload ;;;###autoload
(defun magit-clone (repository directory) (defun magit-clone (repository directory)
...@@ -79,10 +79,10 @@ name of the name of the added remote is equal to that string and ...@@ -79,10 +79,10 @@ name of the name of the added remote is equal to that string and
the variable isn't already set." the variable isn't already set."
:package-version '(magit . "2.4.0") :package-version '(magit . "2.4.0")
:group 'magit-commands :group 'magit-commands
:type '(choice (const "ask if unset" ask-if-unset) :type '(choice (const :tag "ask if unset" ask-if-unset)
(const "always ask" ask) (const :tag "always ask" ask)
(string "set if named") (string :tag "set if named")
(const "don't set"))) (const :tag "don't set")))
;;;###autoload (autoload 'magit-remote-popup "magit-remote" nil t) ;;;###autoload (autoload 'magit-remote-popup "magit-remote" nil t)
(magit-define-popup magit-remote-popup (magit-define-popup magit-remote-popup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment