with-editor-autoloads.el (4164B)
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 18 \"EDITOR\". The value is automatically generated to teach 19 commands to use the current Emacs instance as \"the editor\". 20 21 This works in `shell-mode', `term-mode', `eshell-mode' and 22 `vterm'. 23 24 (fn &optional (ENVVAR \"EDITOR\"))" t) 25 (autoload 'with-editor-export-git-editor "with-editor" "\ 26 Like `with-editor-export-editor' but always set `$GIT_EDITOR'." t) 27 (autoload 'with-editor-export-hg-editor "with-editor" "\ 28 Like `with-editor-export-editor' but always set `$HG_EDITOR'." t) 29 (defvar shell-command-with-editor-mode nil "\ 30 Non-nil if Shell-Command-With-Editor mode is enabled. 31 See the `shell-command-with-editor-mode' command 32 for a description of this minor mode.") 33 (custom-autoload 'shell-command-with-editor-mode "with-editor" nil) 34 (autoload 'shell-command-with-editor-mode "with-editor" "\ 35 Teach `shell-command' to use current Emacs instance as editor. 36 37 Teach `shell-command', and all commands that ultimately call that 38 command, to use the current Emacs instance as editor by executing 39 \"EDITOR=CLIENT COMMAND&\" instead of just \"COMMAND&\". 40 41 CLIENT is automatically generated; EDITOR=CLIENT instructs 42 COMMAND to use to the current Emacs instance as \"the editor\", 43 assuming no other variable overrides the effect of \"$EDITOR\". 44 CLIENT may be the path to an appropriate emacsclient executable 45 with arguments, or a script which also works over Tramp. 46 47 Alternatively you can use the `with-editor-async-shell-command', 48 which also allows the use of another variable instead of 49 \"EDITOR\". 50 51 This is a global minor mode. If called interactively, toggle the 52 `Shell-Command-With-Editor mode' mode. If the prefix argument 53 is positive, enable the mode, and if it is zero or negative, 54 disable the mode. 55 56 If called from Lisp, toggle the mode if ARG is `toggle'. Enable 57 the mode if ARG is nil, omitted, or is a positive number. 58 Disable the mode if ARG is a negative number. 59 60 To check whether the minor mode is enabled in the current buffer, 61 evaluate `(default-value \\='shell-command-with-editor-mode)'. 62 63 The mode's hook is called both when the mode is enabled and when 64 it is disabled. 65 66 (fn &optional ARG)" t) 67 (autoload 'with-editor-async-shell-command "with-editor" "\ 68 Like `async-shell-command' but with `$EDITOR' set. 69 70 Execute string \"ENVVAR=CLIENT COMMAND\" in an inferior shell; 71 display output, if any. With a prefix argument prompt for an 72 environment variable, otherwise the default \"EDITOR\" variable 73 is used. With a negative prefix argument additionally insert 74 the COMMAND's output at point. 75 76 CLIENT is automatically generated; ENVVAR=CLIENT instructs 77 COMMAND to use to the current Emacs instance as \"the editor\", 78 assuming it respects ENVVAR as an \"EDITOR\"-like variable. 79 CLIENT may be the path to an appropriate emacsclient executable 80 with arguments, or a script which also works over Tramp. 81 82 Also see `async-shell-command' and `shell-command'. 83 84 (fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t) 85 (autoload 'with-editor-shell-command "with-editor" "\ 86 Like `shell-command' or `with-editor-async-shell-command'. 87 If COMMAND ends with \"&\" behave like the latter, 88 else like the former. 89 90 (fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t) 91 (register-definition-prefixes "with-editor" '("server-" "shell-command--shell-command-with-editor-mode" "start-file-process--with-editor-process-filter" "with-editor")) 92 93 ;;; End of scraped data 94 95 (provide 'with-editor-autoloads) 96 97 ;; Local Variables: 98 ;; version-control: never 99 ;; no-byte-compile: t 100 ;; no-update-autoloads: t 101 ;; no-native-compile: t 102 ;; coding: utf-8-emacs-unix 103 ;; End: 104 105 ;;; with-editor-autoloads.el ends here