commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315& \210\316\317\320\321\322\323\312\324&\210\302\325\304\305\326DD\327\310\330\312\317\314\331\332\333\334\335&
\210\302\336\304\305\337DD\340\310\341\312\317\314\342& \207" [require magit-core custom-declare-variable magit-repository-directories funcall function #[0 "\300\207" [(("~/.emacs.d/" . 0) ("~/.emacs.d/lib/" . 1))] 1] "List of directories that are or contain Git repositories.\n\nEach element has the form (DIRECTORY . DEPTH). DIRECTORY has\nto be a directory or a directory file-name, a string. DEPTH,\nan integer, specifies the maximum depth to look for Git\nrepositories. If it is 0, then only add DIRECTORY itself." :package-version (magit . "2.90.0") :group magit-essentials :type (repeat (cons directory (integer :tag "Depth"))) custom-declare-group magit-repolist nil "List repositories in a buffer." :link (info-link "(magit)Repository List") magit-modes magit-repolist-mode-hook #[0 "\300\207" [(hl-line-mode)] 1] "Hook run after entering Magit-Repolist mode." (magit . "2.9.0") hook :get magit-hook-custom-get :options (hl-line-mode) magit-repolist-columns #[0 "\300\207" [(("Name" 25 magit-repolist-column-ident nil) ("Version" 25 magit-repolist-column-version nil) ("B<U" 3 magit-repolist-column-unpulled-from-upstream ((:right-align t) (:help-echo "Upstream changes not in branch"))) ("B>U" 3 magit-repolist-column-unpushed-to-upstream ((:right-align t) (:help-echo "Local changes not in upstream"))) ("Path" 99 magit-repolist-column-path nil))] 1] "List of columns displayed by `magit-list-repositories'.\n\nEach element has the form (HEADER WIDTH FORMAT PROPS).\n\nHEADER is the string displayed in the header. WIDTH is the width\nof the column. FORMAT is a function that is called with one\nargument, the repository identification (usually its basename),\nand with `default-directory' bound to the toplevel of its working\ntree. It has to return a string to be inserted or nil. PROPS is\nan alist that supports the keys `:right-align' and `:pad-right'.\nSome entries also use `:help-echo', but `tabulated-list' does not\nactually support that yet." (magit . "2.12.0") (repeat (list :tag "Column" (string :tag "Header Label") (integer :tag "Column Width") (function :tag "Inserter Function") (repeat :tag "Properties" (list (choice :tag "Property" (const :right-align) (const :pad-right) (symbol)) (sexp :tag "Value")))))] 14) |
|
16 |
#@126 Display a list of repositories. |
|
17 |
|
|
18 |
Use the options `magit-repository-directories' to control which |
|
19 |
repositories are displayed. |
|
20 |
(defalias 'magit-list-repositories #[0 "\203 r\301\302!q\210\303 \210\304 \210\305 \210\306p!)\207\307\310\311\"\207" [magit-repository-directories get-buffer-create "*Magit Repositories*" magit-repolist-mode magit-repolist-refresh tabulated-list-print switch-to-buffer message "You need to customize `magit-repository-directories' %s" "before you can list repositories"] 3 (#$ . 2845) nil]) |
|
21 |
#@47 Local keymap for Magit-Repolist mode buffers. |
|
22 |
(defvar magit-repolist-mode-map (byte-code "\301 \302\"\210\303\304\305!\203 \306\202 \307\310#\210\211\207" [tabulated-list-mode-map make-sparse-keymap set-keymap-parent define-key featurep jkl [return] "
" magit-repolist-status] 5) (#$ . 3370)) |
|
23 |
#@69 Show the status for the repository at point. |
|
24 |
|
|
25 |
(fn &optional BUTTON) |
|
26 |
(defalias 'magit-repolist-status #[256 "\300\301\206 `\302\"\262\211\203 \303\304!!\202 \305\306!\207" [nil get-text-property tabulated-list-id magit-status-internal expand-file-name user-error "There is no repository at point"] 5 (#$ . 3674) nil]) |
|
27 |
(defvar magit-repolist-mode-hook nil) |
|
28 |
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [magit-repolist-mode-hook variable-documentation put "Hook run after entering Repos mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp magit-repolist-mode-map definition-name magit-repolist-mode] 4) |
|
29 |
(defvar magit-repolist-mode-map (make-sparse-keymap)) |
|
30 |
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\322#\207" [magit-repolist-mode-abbrev-table magit-repolist-mode-map variable-documentation put purecopy "Keymap for `magit-repolist-mode'." boundp magit-repolist-mode-syntax-table definition-name magit-repolist-mode (lambda (#1=#:def-tmp-var) (defvar magit-repolist-mode-syntax-table #1#)) make-syntax-table "Syntax table for `magit-repolist-mode'." (lambda (#1#) (defvar magit-repolist-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `magit-repolist-mode'." derived-mode-parent tabulated-list-mode] 5) |
|
31 |
#@269 Major mode for browsing a list of Git repositories. |
|
32 |
|
|
33 |
In addition to any hooks its parent mode `tabulated-list-mode' might have run, |
|
34 |
this mode runs the hook `magit-repolist-mode-hook', as the final or penultimate step |
|
35 |
during initialization. |
|
36 |
|
|
37 |
\{magit-repolist-mode-map} |
|
38 |
(defalias 'magit-repolist-mode #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2035 \211\321 =\203; \322\f\323 \"\210\210\324
\325\"\204R
'=\204R \326
\325'C#\210\327!\210\330\f!\210
'\331(\332)\333\331B*\334\335\336+\"!,\337 \210\340\341\342\331\307$\210\343-\344.)\345\346!\207" [delay-mode-hooks major-mode mode-name magit-repolist-mode-map magit-repolist-mode-syntax-table magit-repolist-mode-abbrev-table make-local-variable t tabulated-list-mode magit-repolist-mode "Repos" mode-class put keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table abbrev-table-get :parents abbrev-table-put use-local-map set-syntax-table nil 0 "Path" vconcat mapcar #[257 "\211@A\211@A\211@A\211@A\n\211\300E\301!\244\266\204\207" [t -flatten] 16 "\n\n(fn ARG0)"] tabulated-list-init-header add-hook tabulated-list-revert-hook magit-repolist-refresh magit-imenu--repolist-prev-index-position-function magit-imenu--repolist-extract-index-name-function run-mode-hooks magit-repolist-mode-hook local-abbrev-table x-stretch-cursor tabulated-list-padding tabulated-list-sort-key magit-repolist-columns tabulated-list-format imenu-prev-index-position-function imenu-extract-index-name-function] 5 (#$ . 5263) nil]) |
|
39 |
(defalias 'magit-repolist-refresh #[0 "\301\302\303\301\304\305 \"!\"\211\207" [tabulated-list-entries mapcar #[257 "\211@A\211\302\303\304\305\306\302\307!\310\"\311\312% \"!)D\266\202\207" [default-directory magit-repolist-columns vconcat mapcar make-byte-code 257 "\3018\300!\206 |