100 lines
3.5 KiB
EmacsLisp
100 lines
3.5 KiB
EmacsLisp
|
;;; with-editor-autoloads.el --- automatically extracted autoloads
|
|||
|
;;
|
|||
|
;;; Code:
|
|||
|
|
|||
|
(add-to-list 'load-path (directory-file-name
|
|||
|
(or (file-name-directory #$) (car load-path))))
|
|||
|
|
|||
|
|
|||
|
;;;### (autoloads nil "with-editor" "with-editor.el" (0 0 0 0))
|
|||
|
;;; Generated autoloads from with-editor.el
|
|||
|
|
|||
|
(autoload 'with-editor-export-editor "with-editor" "\
|
|||
|
Teach subsequent commands to use current Emacs instance as editor.
|
|||
|
|
|||
|
Set and export the environment variable ENVVAR, by default
|
|||
|
\"EDITOR\". The value is automatically generated to teach
|
|||
|
commands to use the current Emacs instance as \"the editor\".
|
|||
|
|
|||
|
This works in `shell-mode', `term-mode' and `eshell-mode'.
|
|||
|
|
|||
|
\(fn &optional (ENVVAR \"EDITOR\"))" t nil)
|
|||
|
|
|||
|
(autoload 'with-editor-export-git-editor "with-editor" "\
|
|||
|
Like `with-editor-export-editor' but always set `$GIT_EDITOR'.
|
|||
|
|
|||
|
\(fn)" t nil)
|
|||
|
|
|||
|
(autoload 'with-editor-export-hg-editor "with-editor" "\
|
|||
|
Like `with-editor-export-editor' but always set `$HG_EDITOR'.
|
|||
|
|
|||
|
\(fn)" t nil)
|
|||
|
|
|||
|
(defvar shell-command-with-editor-mode nil "\
|
|||
|
Non-nil if Shell-Command-With-Editor mode is enabled.
|
|||
|
See the `shell-command-with-editor-mode' command
|
|||
|
for a description of this minor mode.")
|
|||
|
|
|||
|
(custom-autoload 'shell-command-with-editor-mode "with-editor" nil)
|
|||
|
|
|||
|
(autoload 'shell-command-with-editor-mode "with-editor" "\
|
|||
|
Teach `shell-command' to use current Emacs instance as editor.
|
|||
|
|
|||
|
Teach `shell-command', and all commands that ultimately call that
|
|||
|
command, to use the current Emacs instance as editor by executing
|
|||
|
\"EDITOR=CLIENT COMMAND&\" instead of just \"COMMAND&\".
|
|||
|
|
|||
|
CLIENT is automatically generated; EDITOR=CLIENT instructs
|
|||
|
COMMAND to use to the current Emacs instance as \"the editor\",
|
|||
|
assuming no other variable overrides the effect of \"$EDITOR\".
|
|||
|
CLIENT may be the path to an appropriate emacsclient executable
|
|||
|
with arguments, or a script which also works over Tramp.
|
|||
|
|
|||
|
Alternatively you can use the `with-editor-async-shell-command',
|
|||
|
which also allows the use of another variable instead of
|
|||
|
\"EDITOR\".
|
|||
|
|
|||
|
\(fn &optional ARG)" t nil)
|
|||
|
|
|||
|
(autoload 'with-editor-async-shell-command "with-editor" "\
|
|||
|
Like `async-shell-command' but with `$EDITOR' set.
|
|||
|
|
|||
|
Execute string \"ENVVAR=CLIENT COMMAND\" in an inferior shell;
|
|||
|
display output, if any. With a prefix argument prompt for an
|
|||
|
environment variable, otherwise the default \"EDITOR\" variable
|
|||
|
is used. With a negative prefix argument additionally insert
|
|||
|
the COMMAND's output at point.
|
|||
|
|
|||
|
CLIENT is automatically generated; ENVVAR=CLIENT instructs
|
|||
|
COMMAND to use to the current Emacs instance as \"the editor\",
|
|||
|
assuming it respects ENVVAR as an \"EDITOR\"-like variable.
|
|||
|
CLIENT may be the path to an appropriate emacsclient executable
|
|||
|
with arguments, or a script which also works over Tramp.
|
|||
|
|
|||
|
Also see `async-shell-command' and `shell-command'.
|
|||
|
|
|||
|
\(fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t nil)
|
|||
|
|
|||
|
(autoload 'with-editor-shell-command "with-editor" "\
|
|||
|
Like `shell-command' or `with-editor-async-shell-command'.
|
|||
|
If COMMAND ends with \"&\" behave like the latter,
|
|||
|
else like the former.
|
|||
|
|
|||
|
\(fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t nil)
|
|||
|
|
|||
|
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "with-editor" '("with-editor" "start-file-process--with-editor-process-filter" "server-" "shell-command--shell-command-with-editor-mode")))
|
|||
|
|
|||
|
;;;***
|
|||
|
|
|||
|
;;;### (autoloads nil nil ("with-editor-pkg.el") (0 0 0 0))
|
|||
|
|
|||
|
;;;***
|
|||
|
|
|||
|
;; Local Variables:
|
|||
|
;; version-control: never
|
|||
|
;; no-byte-compile: t
|
|||
|
;; no-update-autoloads: t
|
|||
|
;; coding: utf-8
|
|||
|
;; End:
|
|||
|
;;; with-editor-autoloads.el ends here
|