;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require magit bookmark] 2) #@213 Create a bookmark for the current Magit buffer. Input values are the major-mode's `magit-bookmark-name' method, and the buffer-local values of the variables referenced in its `magit-bookmark-variables' property. (defalias 'magit--make-bookmark #[0 "\304\305!\306\"\203\232\307\310\311!B\312\313\314#\210\312\315#\210\312\316\317 #\210\312\320\321 C#\210\306N\211\203@\211@\312\211J#\210A\266\202\202,\210\312\322\307\323 \324\"\325\307\211\203\221\211A\262\242\262\262T\262\323\326\"\205\203\323\327\"\330\331!\203~\332\333\n! \323\334\"#\202\202\323\334\"B\211\203\215\211B\262\210\202L\266\211\237\262#\210\207\335\336\"\207" [major-mode magit-root-section magit-buffer-revision magit-buffer-revision-hash plist-member symbol-plist magit-bookmark-variables nil bookmark-make-record-default no-file bookmark-prop-set handler magit--handle-bookmark mode filename magit-toplevel defaults magit-bookmark-name magit-hidden-sections eieio-oref children 0 hidden type derived-mode-p magit-stash-mode replace-regexp-in-string regexp-quote value user-error "Bookmarking is not implemented for %s buffers"] 16 (#$ . 156)]) #@259 Open a bookmark created by `magit--make-bookmark'. Call the `magit-*-setup-buffer' function of the the major-mode with the variables' values as arguments, which were recorded by `magit--make-bookmark'. Ignore `magit-display-buffer-function'. (fn BOOKMARK) (defalias 'magit--handle-bookmark #[257 "\305!\306\307\"\310\311\312\313\314\315\316!\317\320O\"!\321\322\323\"\324N\"\"+\266\202\211q\210\306\325\"\211\203brq\210\326 \327\"\211\203`\211@\326\330\"\326\331\"B\235\203U\332!\210\202Y\333!\210A\266\202\202:\210)\210\334\304!\203q\f\203q\fp!\210\335\207" [magit-display-buffer-noselect magit-display-buffer-function default-directory magit-root-section bmkp-jump-display-function bookmark-get-filename bookmark-prop-get mode identity t apply intern format "%s-setup-buffer" symbol-name 0 -5 mapcar make-closure #[257 "\301\300\"\207" [V0 bookmark-prop-get] 4 "\n\n(fn IT)"] magit-bookmark-variables magit-hidden-sections eieio-oref children type value magit-section-hide magit-section-show boundp nil] 10 (#$ . 1317)]) (byte-code "\300\301\302\301\303\211#\304#\210\305\301\303\211\211\306%\210\307\310\311\312#\210\305\301\303\313\303\314%\210\307\315\311\316#\210\305\301\303\317\303\320%\210\307\321\311\322#\210\305\301\303\323\303\324%\210\307\325\311\326#\210\305\301\303\327\303\330%\210\307\331\311\332#\210\305\301\303\333\303\334%\210\307\335\311\336#\210\305\301\303\337\303\340%\210\307\341\311\303#\210\307\342\311\343#\210\307\344\311\303#\210\305\301\303\345\303\346%\210\347\350!\207" [defalias magit-bookmark-name cl-generic-define nil "Return name for bookmark to current buffer.\n\n(fn)" cl-generic-define-method #[0 "\301\302\303!\304\305O\306N\211\203\307\310\"\202\311\262#\207" [major-mode format "%s%s" symbol-name 0 -5 magit-bookmark-variables cl-mapcan #[257 "\211J\211\203\211:\204\211C\207\207" [] 3 "\n\n(fn VAR)"] #1=""] 7] put magit-diff-mode magit-bookmark-variables (magit-buffer-range-hashed magit-buffer-typearg magit-buffer-diff-args magit-buffer-diff-files) (&context (major-mode magit-diff-mode)) #[0 "\304\305\306 \211\307\267\202\310\202 \311\202 \202 \312\313 \nD\"\202 \313\262 \2030\314\315\316 \317#P\2021\320#\207" [magit-buffer-range magit-buffer-typearg magit-buffer-range-hashed magit-buffer-diff-files format "magit-diff(%s%s)" magit-diff-type #s(hash-table size 4 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (staged 10 unstaged 14 committed 18 undefined 22)) "staged" "unstaged" delq nil " -- " mapconcat identity " " #1#] 8] magit-revision-mode (magit-buffer-revision-hash magit-buffer-diff-args magit-buffer-diff-files) (&context (major-mode magit-revision-mode)) #[0 "\302\303\304! \203\305\306 \307#\202\310\311\"#\207" [magit-buffer-revision magit-buffer-diff-files format "magit-revision(%s %s)" magit-rev-abbrev mapconcat identity " " magit-rev-format "%s"] 7] magit-stash-mode (magit-buffer-revision-hash magit-buffer-diff-args magit-buffer-diff-files) (&context (major-mode magit-stash-mode)) #[0 "\302\303\304! \203\305\306 \307#\202\310\311\"#\207" [magit-buffer-revision magit-buffer-diff-files format "magit-stash(%s %s)" magit-rev-abbrev mapconcat identity " " magit-rev-format "%s"] 7] magit-log-mode (magit-buffer-revisions magit-buffer-log-args magit-buffer-log-files) (&context (major-mode magit-log-mode)) #[0 "\302\303\304\305\306# \203\307\304\305 \306#P\202\310#\207" [magit-buffer-revisions magit-buffer-log-files format "magit-log(%s%s)" mapconcat identity " " " -- " #1#] 8] magit-cherry-mode (magit-buffer-refname magit-buffer-upstream) (&context (major-mode magit-cherry-mode)) #[0 "\302\303 #\207" [magit-buffer-refname magit-buffer-upstream format "magit-cherry(%s > %s)"] 4] magit-reflog-mode (magit-buffer-refname) (&context (major-mode magit-reflog-mode)) #[0 "\301\302\"\207" [magit-buffer-refname format "magit-reflog(%s)"] 3] magit-status-mode magit-refs-mode (magit-buffer-upstream magit-buffer-arguments) magit-stashes-mode (&context (major-mode magit-stashes-mode)) #[0 "\301\302\"\207" [magit-buffer-refname format "magit-states(%s)"] 3] provide magit-bookmark] 6)