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 |
(require 'magit) |
|
16 |
#@55 Popup console for notes commands. |
|
17 |
|
|
18 |
(fn &optional ARG) |
|
19 |
(defalias 'magit-notes-popup #[256 "\300\301\302#\207" [magit-invoke-popup magit-notes-popup nil] 5 (#$ . 425) "P"]) |
|
20 |
(defvar magit-notes-popup (list :variable 'magit-notes-arguments :man-page "git-notes" :variables '("Configure local settings" (99 "core.notesRef" magit-set-core\.notesRef magit-format-core\.notesRef) (100 "notes.displayRef" magit-set-notes\.displayRef magit-format-notes\.displayRef) "Configure global settings" (67 "core.notesRef" magit-set-global-core\.notesRef magit-format-global-core\.notesRef) (68 "notes.displayRef" magit-set-global-notes\.displayRef magit-format-global-notes\.displayRef)) :switches '("Switch for prune" (110 "Dry run" "--dry-run")) :options '("Option for edit and remove" (114 "Manipulate ref" "--ref=" magit-notes-popup-read-ref) "Option for merge" (115 "Merge strategy" "--strategy=")) :actions '((84 "Edit" magit-notes-edit) (114 "Remove" magit-notes-remove) (109 "Merge" magit-notes-merge) (112 "Prune" magit-notes-prune)) :sequence-actions '((99 "Commit merge" magit-notes-merge-commit) (97 "Abort merge" magit-notes-merge-abort)) :sequence-predicate 'magit-notes-merging-p :default-action 'magit-notes-edit)) |
|
21 |
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313&\207" [magit-define-popup-keys-deferred magit-notes-popup custom-declare-variable magit-notes-arguments funcall function #[0 "\301\302\"\207" [magit-notes-popup plist-get :default-arguments] 3] "" :group magit-git-arguments :type (repeat (string :tag "Argument"))] 8) |
|
22 |
(defalias 'magit-notes-arguments #[0 "\303=\203 \207\n\207" [magit-current-popup magit-current-popup-args magit-notes-arguments magit-notes-popup] 2]) |
|
23 |
(put 'magit-notes-arguments 'definition-name 'magit-notes-popup) |
|
24 |
(defalias 'magit-notes-merging-p #[0 "\300\301!\302!\205 \303\304\305#\207" [magit-git-dir "NOTES_MERGE_WORKTREE" file-directory-p directory-files nil "^[^.]"] 5]) |
|
25 |
(defalias 'magit-format-core\.notesRef #[0 "\300\301\302\"\207" [magit--format-popup-variable:value "core.notesRef" 22] 3]) |
|
26 |
(defalias 'magit-format-notes\.displayRef #[0 "\300\301\302\"\207" [magit--format-popup-variable:values "notes.displayRef" 22] 3]) |
|
27 |
(defalias 'magit-format-global-core\.notesRef #[0 "\300\301\302\303#\207" [magit--format-popup-variable:value "core.notesRef" 22 t] 4]) |
|
28 |
(defalias 'magit-format-global-notes\.displayRef #[0 "\300\301\302\303#\207" [magit--format-popup-variable:values "notes.displayRef" 22 t] 4]) |
|
29 |
#@243 Edit the note attached to COMMIT. |
|
30 |
REF is the notes ref used to store the notes. |
|
31 |
|
|
32 |
Interactively or when optional REF is nil use the value of Git |
|
33 |
variable `core.notesRef' or "refs/notes/commits" if that is |
|
34 |
undefined. |
|
35 |
|
|
36 |
(fn COMMIT &optional REF) |
|
37 |
(defalias 'magit-notes-edit #[513 "\300\301\205 |