fordon_greeman / voidfiles

Branch: 2079ec5
Switch branches/tags
main
theidioticdev add emacs 2079ec5 1d ago
121 lines · 4.6 KB Raw Blame History
1 ;;; with-editor-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
2 ;; Generated by the `loaddefs-generate' function.
3
4 ;; This file is part of GNU Emacs.
5
6 ;;; Code:
7
8 (add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
9
10
11
12 ;;; Generated autoloads from with-editor.el
13
14 (autoload 'with-editor-export-editor "with-editor"
15 "Teach subsequent commands to use current Emacs instance as editor.
16
17 Set and export the environment variable ENVVAR, by default \"EDITOR\".
18 The value is automatically generated to teach commands to use the
19 current Emacs instance as \"the editor\".
20
21 PROCESS is only intended for use by `eat-exec-hook'. When invoked
22 interactively, INTERACTIVE is non-nil, which suppresses the call to
23 \"clear\" (only relevant in `vterm-mode', `eat-mode', and `ghostel-mode').
24
25 This command can be used in `shell-mode', `term-mode', `eshell-mode',
26 `vterm-mode', `eat-mode' and `ghostel-mode'.
27
28 (fn &optional (ENVVAR \"EDITOR\") PROCESS INTERACTIVE)" t)
29 (autoload 'with-editor-export-git-editor "with-editor"
30 "Like `with-editor-export-editor' but always set `$GIT_EDITOR'.
31
32 PROCESS is only intended for use by `eat-exec-hook'. When invoked
33 interactively, INTERACTIVE is non-nil, which suppresses the call to
34 \"clear\".
35
36 (fn &optional PROCESS INTERACTIVE)" t)
37 (autoload 'with-editor-export-hg-editor "with-editor"
38 "Like `with-editor-export-editor' but always set `$HG_EDITOR'.
39
40 PROCESS is only intended for use by `eat-exec-hook'. When invoked
41 interactively, INTERACTIVE is non-nil, which suppresses the call to
42 \"clear\".
43
44 (fn &optional PROCESS INTERACTIVE)" t)
45 (defvar shell-command-with-editor-mode nil
46 "Non-nil if Shell-Command-With-Editor mode is enabled.
47 See the `shell-command-with-editor-mode' command
48 for a description of this minor mode.")
49 (custom-autoload 'shell-command-with-editor-mode "with-editor" nil)
50 (autoload 'shell-command-with-editor-mode "with-editor"
51 "Teach `shell-command' to use current Emacs instance as editor.
52
53 Teach `shell-command', and all commands that ultimately call that
54 command, to use the current Emacs instance as editor by executing
55 \"EDITOR=CLIENT COMMAND&\" instead of just \"COMMAND&\".
56
57 CLIENT is automatically generated; EDITOR=CLIENT instructs
58 COMMAND to use to the current Emacs instance as \"the editor\",
59 assuming no other variable overrides the effect of \"$EDITOR\".
60 CLIENT may be the path to an appropriate emacsclient executable
61 with arguments, or a script which also works over Tramp.
62
63 Alternatively you can use the `with-editor-async-shell-command',
64 which also allows the use of another variable instead of
65 \"EDITOR\".
66
67 This is a global minor mode. If called interactively, toggle the
68 `Shell-Command-With-Editor mode' mode. If the prefix argument is
69 positive, enable the mode, and if it is zero or negative, disable the
70 mode.
71
72 If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
73 mode if ARG is nil, omitted, or is a positive number. Disable the mode
74 if ARG is a negative number.
75
76 To check whether the minor mode is enabled in the current buffer,
77 evaluate `(default-value \\='shell-command-with-editor-mode)'.
78
79 The mode's hook is called both when the mode is enabled and when it is
80 disabled.
81
82 (fn &optional ARG)" t)
83 (autoload 'with-editor-async-shell-command "with-editor"
84 "Like `async-shell-command' but with `$EDITOR' set.
85
86 Execute string \"ENVVAR=CLIENT COMMAND\" in an inferior shell;
87 display output, if any. With a prefix argument prompt for an
88 environment variable, otherwise the default \"EDITOR\" variable
89 is used. With a negative prefix argument additionally insert
90 the COMMAND's output at point.
91
92 CLIENT is automatically generated; ENVVAR=CLIENT instructs
93 COMMAND to use to the current Emacs instance as \"the editor\",
94 assuming it respects ENVVAR as an \"EDITOR\"-like variable.
95 CLIENT may be the path to an appropriate emacsclient executable
96 with arguments, or a script which also works over Tramp.
97
98 Also see `async-shell-command' and `shell-command'.
99
100 (fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t)
101 (autoload 'with-editor-shell-command "with-editor"
102 "Like `shell-command' or `with-editor-async-shell-command'.
103 If COMMAND ends with \"&\" behave like the latter,
104 else like the former.
105
106 (fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t)
107 (register-definition-prefixes "with-editor" '("server-" "shell-command" "start-file-process" "with-editor"))
108
109 ;;; End of scraped data
110
111 (provide 'with-editor-autoloads)
112
113 ;; Local Variables:
114 ;; version-control: never
115 ;; no-byte-compile: t
116 ;; no-update-autoloads: t
117 ;; no-native-compile: t
118 ;; coding: utf-8-emacs-unix
119 ;; End:
120
121 ;;; with-editor-autoloads.el ends here