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 |
(defvar magit-find-file-hook nil) |
|
17 |
(add-hook 'magit-find-file-hook 'magit-blob-mode) |
|
18 |
#@116 View FILE from REV. |
|
19 |
Switch to a buffer visiting blob REV:FILE, |
|
20 |
creating one if none already exists. |
|
21 |
|
|
22 |
(fn REV FILE) |
|
23 |
(defalias 'magit-find-file #[514 "\300\301\"!\207" [switch-to-buffer magit-find-file-noselect] 6 (#$ . 510) (magit-find-file-read-args "Find file")]) |
|
24 |
#@129 View FILE from REV, in another window. |
|
25 |
Like `magit-find-file', but create a new window or reuse an |
|
26 |
existing one. |
|
27 |
|
|
28 |
(fn REV FILE) |
|
29 |
(defalias 'magit-find-file-other-window #[514 "\300\301\"!\207" [switch-to-buffer-other-window magit-find-file-noselect] 6 (#$ . 784) (magit-find-file-read-args "Find file in other window")]) |
|
30 |
#@15 |
|
31 |
|
|
32 |
(fn PROMPT) |
|
33 |
(defalias 'magit-find-file-read-args #[257 "\300\301!\211\302\"D\207" [magit-read-branch-or-commit "Find file from revision" magit-read-file-from-rev] 6 (#$ . 1112)]) |
|
34 |
#@134 Read FILE from REV into a buffer and return the buffer. |
|
35 |
FILE must be relative to the top directory of the repository. |
|
36 |
|
|
37 |
(fn REV FILE) |
|
38 |
(defalias 'magit-find-file-noselect #[514 "\300\301#\207" [magit-find-file-noselect-1 magit-find-file-hook] 6 (#$ . 1302)]) |
|
39 |
#@190 Read FILE from REV into a buffer and return the buffer. |
|
40 |
FILE must be relative to the top directory of the repository. |
|
41 |
An empty REV stands for index. |
|
42 |
|
|
43 |
(fn REV FILE HOOKVAR &optional REVERT) |
|
44 |
(defalias 'magit-find-file-noselect-1 #[1027 "\305 \306!\203 \307\"\262r\310\"q\210\203- \311=\203) \312\313\314\315 \"!\204- \203d \316\230\2037 \317\202< |