Commit 2bc1bfd9 authored by Jonas Bernoulli's avatar Jonas Bernoulli

autoload popups

parent ff6c3b92
......@@ -48,6 +48,7 @@
"Face for bad bisect revisions."
:group 'magit-faces)
;;;###autoload (autoload 'magit-bisect-popup "magit-bisect" nil t)
(magit-define-popup magit-bisect-popup
"Popup console for bisect commands."
'magit-commands 'magit-popup-sequence-mode
......
......@@ -173,6 +173,7 @@ See #1731."
(message "Reverting %s inhibited due to magit-blame-mode" buffer-file-name)
ad-do-it))
;;;###autoload (autoload 'magit-blame-popup "magit-blame" nil t)
(magit-define-popup magit-blame-popup
"Popup console for blame commands."
'magit-commands
......
......@@ -75,6 +75,7 @@ an error while using those is harder to recover from."
;;; Code
;;;###autoload (autoload 'magit-commit-popup "magit-commit" nil t)
(with-no-warnings ; quiet 24.4 byte-compiler
(magit-define-popup magit-commit-popup
"Popup console for commit commands."
......
......@@ -401,6 +401,7 @@ The following `format'-like specs are supported:
;;; Commands
;;;###autoload (autoload 'magit-diff-popup "magit-diff" nil t)
(magit-define-popup magit-diff-popup
"Popup console for diff commands."
'magit-diff
......
......@@ -33,6 +33,7 @@
(require 'ediff)
(require 'smerge-mode)
;;;###autoload (autoload 'magit-ediff-popup "magit-ediff" nil t)
(magit-define-popup magit-ediff-popup
"Popup console for ediff commands."
'magit-diff nil nil
......
......@@ -293,6 +293,7 @@ http://www.mail-archive.com/git@vger.kernel.org/msg51337.html"
;;; Commands
;;;###autoload (autoload 'magit-log-popup "magit-log" nil t)
(magit-define-popup magit-log-popup
"Popup console for log commands."
'magit-log
......
......@@ -48,6 +48,7 @@
;;; Setup
;;;###autoload (autoload 'magit-remote-popup "magit-remote" nil t)
(magit-define-popup magit-remote-popup
"Popup console for remote commands."
'magit-commands nil nil
......@@ -89,6 +90,7 @@
;;; Fetch
;;;###autoload (autoload 'magit-fetch-popup "magit-remote" nil t)
(magit-define-popup magit-fetch-popup
"Popup console for fetch commands."
'magit-commands
......@@ -125,6 +127,7 @@ then read the remote."
;;; Pull
;;;###autoload (autoload 'magit-pull-popup "magit-remote" nil t)
(magit-define-popup magit-pull-popup
"Popup console for pull commands."
'magit-commands
......@@ -154,6 +157,7 @@ then read the remote."
;;; Push
;;;###autoload (autoload 'magit-push-popup "magit-remote" nil t)
(magit-define-popup magit-push-popup
"Popup console for push commands."
'magit-commands
......@@ -243,6 +247,7 @@ branch as default."
;;; Email
;;;###autoload (autoload 'magit-patch-popup "magit-remote" nil t)
(magit-define-popup magit-patch-popup
"Popup console for patch commands."
'magit-commands
......
......@@ -143,6 +143,7 @@ This discards all changes made since the sequence started."
;;; Cherry-Pick
;;;###autoload (autoload 'magit-cherry-pick-popup "magit-sequence" nil t)
(magit-define-popup magit-cherry-pick-popup
"Popup console for cherry-pick commands."
'magit-commands 'magit-popup-sequence-mode
......@@ -196,6 +197,7 @@ without prompting."
;;; Revert
;;;###autoload (autoload 'magit-revert-popup "magit-sequence" nil t)
(magit-define-popup magit-revert-popup
"Popup console for revert commands."
'magit-commands 'magit-popup-sequence-mode
......@@ -240,6 +242,7 @@ without prompting."
;;; Patch
;;;###autoload (autoload 'magit-am-popup "magit-sequence" nil t)
(magit-define-popup magit-am-popup
"Popup console for mailbox commands."
'magit-commands 'magit-popup-sequence-mode
......@@ -312,6 +315,7 @@ This discards all changes made since the sequence started."
(add-to-list 'with-editor-server-window-alist
(cons git-rebase-filename-regexp 'switch-to-buffer))
;;;###autoload (autoload 'magit-rebase-popup "magit-sequence" nil t)
(magit-define-popup magit-rebase-popup
"Key menu for rebasing."
'magit-commands 'magit-popup-sequence-mode
......
......@@ -32,6 +32,7 @@
;;; Commands
;;;###autoload (autoload 'magit-stash-popup "magit-stash" nil t)
(magit-define-popup magit-stash-popup
"Popup console for stash commands."
'magit-commands
......
......@@ -559,6 +559,7 @@ Type \\[magit-reset-head] to reset HEAD to the commit at point.
:group 'magit-modes
(hack-dir-local-variables-non-file-buffer))
;;;###autoload (autoload 'magit-show-refs-popup "magit" nil t)
(magit-define-popup magit-show-refs-popup
"Popup console for `magit-show-refs'."
'magit-refs
......@@ -944,6 +945,7 @@ Non-interactively DIRECTORY is (re-)initialized unconditionally."
;;;; Branch
;;;###autoload (autoload 'magit-branch-popup "magit" nil t)
(magit-define-popup magit-branch-popup
"Popup console for branch commands."
'magit-commands
......@@ -1109,6 +1111,7 @@ line is inserted at all."
;;;; Merge
;;;###autoload (autoload 'magit-merge-popup "magit" nil t)
(magit-define-popup magit-merge-popup
"Popup console for merge commands."
'magit-commands 'magit-popup-sequence-mode
......@@ -1385,6 +1388,7 @@ If FILE isn't tracked in Git fallback to using `delete-file'."
;;; Miscellaneous
;;;; Tag
;;;###autoload (autoload 'magit-tag-popup "magit" nil t)
(magit-define-popup magit-tag-popup
"Popup console for tag commands."
'magit-commands
......@@ -1448,6 +1452,7 @@ defaulting to the tag at point.
;;;; Notes
;;;###autoload (autoload 'magit-notes-popup "magit" nil t)
(magit-define-popup magit-notes-popup
"Popup console for notes commands."
'magit-commands 'magit-popup-sequence-mode
......@@ -1588,6 +1593,7 @@ the current repository."
;;;; Submodules
;;;###autoload (autoload 'magit-submodule-popup "magit" nil t)
(magit-define-popup magit-submodule-popup
"Popup console for submodule commands."
'magit-commands nil nil
......@@ -1663,6 +1669,7 @@ With a prefix argument fetch all remotes."
;;;; Dispatch Popup
;;;###autoload (autoload 'magit-dispatch-popup "magit" nil t)
(magit-define-popup magit-dispatch-popup
"Popup console for dispatching other popups."
'magit-commands nil nil
......@@ -1697,6 +1704,7 @@ With a prefix argument fetch all remotes."
(defvar magit-git-command-history nil)
;;;###autoload (autoload 'magit-run-popup "magit" nil t)
(magit-define-popup magit-run-popup
"Popup console for running raw Git commands."
'magit-commands nil nil
......
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