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 "\301\302!\210\301\303!\210\301\304!\210\301\305!\210\301\306!\210\301\307\310\311#\2032 \306\312\300!\205$ >\2032 \313\314!\2032 \314\315!\210\316\317\310\320\321\322\323\324&\210\325\326\327\330\331DD\332\323\317\333\334&\210\325\335\327\330\336DD\337\323\317\333\334&\210\325\340\327\330\341DD\342\323\317\333\334&\210\316\343\310\344\323\345\323\317&\210\346\347\350\351\323\343%\210\346\352\310\353\323\343%\210\346\354\355\356\323\343%\210\346\357\360\361\323\343%\210\346\362\363\364\323\365%\207" [async-bytecomp-allowed-packages require dash easymenu server with-editor magit async-bytecomp nil t boundp fboundp async-bytecomp-package-mode 1 custom-declare-group git-rebase "Edit Git rebase sequences." :link (info-link "(magit)Editing Rebase Sequences") :group tools custom-declare-variable git-rebase-auto-advance funcall function #[0 "\300\207" [t] 1] "Whether to move to next line after changing a line." :type boolean git-rebase-show-instructions #[0 "\300\207" [t] 1] "Whether to show usage instructions inside the rebase buffer." git-rebase-confirm-cancel #[0 "\300\207" [t] 1] "Whether confirmation is required to cancel." git-rebase-faces "Faces used by Git-Rebase mode." faces custom-declare-face git-rebase-hash ((t (:inherit magit-hash))) "Face for commit hashes." git-rebase-description "Face for commit descriptions." git-rebase-killed-action ((t (:inherit font-lock-comment-face :strike-through t))) "Face for commented action and exec lines." git-rebase-comment-hash ((t (:inherit git-rebase-hash :weight bold))) "Face for commit hashes in commit message comments." git-rebase-comment-heading ((t :inherit font-lock-keyword-face)) "Face for headings in rebase message comments." git-commit-faces] 8) |
|
16 |
#@29 Keymap for Git-Rebase mode. |
|
17 |
(defvar git-rebase-mode-map (byte-code "\301 \302\"\210\303\304!\203: \305\306\307#\210\305\310\311#\210\305\312\313#\210\305\314\315#\210\305\316\317#\210\305\320\321#\210\305\322\323#\210\202j \305\324\307#\210\305\320\311#\210\305\325\313#\210\305\326\315#\210\305\327\317#\210\305\330\321#\210\305\312\323#\210\305\331\323#\210\305\332\333#\210\305\334\333#\210\305\335\336#\210\305\337\340#\210\305\341\342#\210\305\343\342#\210\305\344\345#\210\305\346\347#\210\305\350\351#\210\305\352\353#\210\305\354\355#\210\305\356\357#\210\305\360\315#\210\305\361\315#\210\305\362\317#\210\305\363\364#\210\211\207" [special-mode-map make-sparse-keymap set-keymap-parent featurep jkl define-key [return] git-rebase-show-commit "i" git-rebase-backward-line "k" forward-line [134217833] git-rebase-move-line-up [134217835] git-rebase-move-line-down "p" git-rebase-pick "," git-rebase-kill-line "
" "n" [134217840] [134217838] "c" "" "e" git-rebase-edit "m" "f" git-rebase-fixup "q" undefined "r" git-rebase-reword "w" "s" git-rebase-squash "x" git-rebase-exec "y" git-rebase-insert "z" git-rebase-noop " " git-rebase-show-or-scroll-up "" git-rebase-show-or-scroll-down "" [M-up] [M-down] [remap undo] git-rebase-undo] 5) (#$ . 2150)) |
|
18 |
(byte-code "\300\301!\203 \302\303\304\305#\210\302\306\304\307#\210\302\310\304\311#\210\202- \302\303\304\305#\210\302\306\304\312#\210\302\310\304\313#\210\300\207" [featurep jkl put git-rebase-reword :advertised-binding "r" git-rebase-move-line-up [134217833] git-rebase-kill-line "," [134217840] "k"] 4) |
|
19 |
#@22 Git-Rebase mode menu |
|
20 |
(defvar git-rebase-mode-menu nil (#$ . 3760)) |
|
21 |
(easy-menu-do-define 'git-rebase-mode-menu git-rebase-mode-map "Git-Rebase mode menu" '("Rebase" ["Pick" git-rebase-pick t] ["Reword" git-rebase-reword t] ["Edit" git-rebase-edit t] ["Squash" git-rebase-squash t] ["Fixup" git-rebase-fixup t] ["Kill" git-rebase-kill-line t] ["Noop" git-rebase-noop t] ["Execute" git-rebase-exec t] ["Move Down" git-rebase-move-line-down t] ["Move Up" git-rebase-move-line-up t] "---" ["Cancel" with-editor-cancel t] ["Finish" with-editor-finish t])) |
|
22 |
(defvar git-rebase-command-descriptions '((with-editor-finish . "tell Git to make it happen") (with-editor-cancel . "tell Git that you changed your mind, i.e. abort") (git-rebase-backward-line . "move point to previous line") (forward-line . "move point to next line") (git-rebase-move-line-up . "move the commit at point up") (git-rebase-move-line-down . "move the commit at point down") (git-rebase-show-or-scroll-up . "show the commit at point in another buffer") (git-rebase-show-commit . "show the commit at point in another buffer and select its window") (undo . "undo last change") (git-rebase-kill-line . "drop the commit at point") (git-rebase-insert . "insert a line for an arbitrary commit") (git-rebase-noop . "add noop action at point"))) |
|
23 |
#@29 Use commit on current line. |
|
24 |
(defalias 'git-rebase-pick #[0 "\300\301!\207" [git-rebase-set-action "pick"] 2 (#$ . 5068) nil]) |
|
25 |
#@41 Edit message of commit on current line. |
|
26 |
(defalias 'git-rebase-reword #[0 "\300\301!\207" [git-rebase-set-action "reword"] 2 (#$ . 5200) nil]) |
|
27 |
#@41 Stop at the commit on the current line. |
|
28 |
(defalias 'git-rebase-edit #[0 "\300\301!\207" [git-rebase-set-action "edit"] 2 (#$ . 5348) nil]) |
|
29 |
#@65 Meld commit on current line into previous commit, edit message. |
|
30 |
(defalias 'git-rebase-squash #[0 "\300\301!\207" [git-rebase-set-action "squash"] 2 (#$ . 5492) nil]) |
|
31 |
#@72 Meld commit on current line into previous commit, discard its message. |
|
32 |
(defalias 'git-rebase-fixup #[0 "\300\301!\207" [git-rebase-set-action "fixup"] 2 (#$ . 5664) nil]) |
|
33 |
(defvar git-rebase-line nil nil) |
|
34 |
(make-variable-buffer-local 'git-rebase-line) |
|
35 |
(defvar git-rebase-comment-re nil nil) |
|
36 |
(make-variable-buffer-local 'git-rebase-comment-re) |
|
37 |
#@15 |
|
38 |
|
|
39 |
(fn ACTION) |
|
40 |
(defalias 'git-rebase-set-action #[257 "\304 b\210\305!\203. \306\307\310!\311\312\313#)\266\203\204. \312\314\312\211\311\310%\210\205, \311y)\207\315 \207" [git-rebase-line inhibit-changing-match-data inhibit-read-only git-rebase-auto-advance line-beginning-position looking-at "\\(e\\|exec\\|noop\\)$" match-string 1 nil t string-match replace-match ding] 8 (#$ . 6011)]) |
|
41 |
#@22 |
|
42 |
|
|
43 |
(fn &optional POS) |
|
44 |
(defalias 'git-rebase-line-p #[256 "\212\211\203 \211b\210\302 b\210\303\304!)\262)\207" [git-rebase-line inhibit-changing-match-data line-beginning-position t looking-at] 4 (#$ . 6414)]) |
|
45 |
(defalias 'git-rebase-region-bounds #[0 "\300 \205' \212\301 b\210\302 )\212\303 b\210\304 )\305!\205% \305!\205% TD\266\202\207" [use-region-p region-beginning line-beginning-position region-end line-end-position git-rebase-line-p] 4]) |
|
46 |
#@201 Move the current commit (or command) N lines down. |
|
47 |
If N is negative, move the commit up instead. With an active |
|
48 |
region, move all the lines that the region touches, not just the |
|
49 |
current line. |
|
50 |
|
|
51 |
(fn N) |
|
52 |
(defalias 'git-rebase-move-line-down #[257 "\306 \206 \307 \310 TD\211@A\211@A`Z\205 |