Personal emacs config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.7 KiB

  1. ;;; with-editor-autoloads.el --- automatically extracted autoloads
  2. ;;
  3. ;;; Code:
  4. (add-to-list 'load-path (directory-file-name
  5. (or (file-name-directory #$) (car load-path))))
  6. ;;;### (autoloads nil "with-editor" "with-editor.el" (0 0 0 0))
  7. ;;; Generated autoloads from with-editor.el
  8. (autoload 'with-editor-export-editor "with-editor" "\
  9. Teach subsequent commands to use current Emacs instance as editor.
  10. Set and export the environment variable ENVVAR, by default
  11. \"EDITOR\". The value is automatically generated to teach
  12. commands to use the current Emacs instance as \"the editor\".
  13. This works in `shell-mode', `term-mode', `eshell-mode' and
  14. `vterm'.
  15. \(fn &optional (ENVVAR \"EDITOR\"))" t nil)
  16. (autoload 'with-editor-export-git-editor "with-editor" "\
  17. Like `with-editor-export-editor' but always set `$GIT_EDITOR'." t nil)
  18. (autoload 'with-editor-export-hg-editor "with-editor" "\
  19. Like `with-editor-export-editor' but always set `$HG_EDITOR'." t nil)
  20. (defvar shell-command-with-editor-mode nil "\
  21. Non-nil if Shell-Command-With-Editor mode is enabled.
  22. See the `shell-command-with-editor-mode' command
  23. for a description of this minor mode.")
  24. (custom-autoload 'shell-command-with-editor-mode "with-editor" nil)
  25. (autoload 'shell-command-with-editor-mode "with-editor" "\
  26. Teach `shell-command' to use current Emacs instance as editor.
  27. If called interactively, enable Shell-Command-With-Editor mode if
  28. ARG is positive, and disable it if ARG is zero or negative. If
  29. called from Lisp, also enable the mode if ARG is omitted or nil,
  30. and toggle it if ARG is `toggle'; disable the mode otherwise.
  31. Teach `shell-command', and all commands that ultimately call that
  32. command, to use the current Emacs instance as editor by executing
  33. \"EDITOR=CLIENT COMMAND&\" instead of just \"COMMAND&\".
  34. CLIENT is automatically generated; EDITOR=CLIENT instructs
  35. COMMAND to use to the current Emacs instance as \"the editor\",
  36. assuming no other variable overrides the effect of \"$EDITOR\".
  37. CLIENT may be the path to an appropriate emacsclient executable
  38. with arguments, or a script which also works over Tramp.
  39. Alternatively you can use the `with-editor-async-shell-command',
  40. which also allows the use of another variable instead of
  41. \"EDITOR\".
  42. \(fn &optional ARG)" t nil)
  43. (autoload 'with-editor-async-shell-command "with-editor" "\
  44. Like `async-shell-command' but with `$EDITOR' set.
  45. Execute string \"ENVVAR=CLIENT COMMAND\" in an inferior shell;
  46. display output, if any. With a prefix argument prompt for an
  47. environment variable, otherwise the default \"EDITOR\" variable
  48. is used. With a negative prefix argument additionally insert
  49. the COMMAND's output at point.
  50. CLIENT is automatically generated; ENVVAR=CLIENT instructs
  51. COMMAND to use to the current Emacs instance as \"the editor\",
  52. assuming it respects ENVVAR as an \"EDITOR\"-like variable.
  53. CLIENT may be the path to an appropriate emacsclient executable
  54. with arguments, or a script which also works over Tramp.
  55. Also see `async-shell-command' and `shell-command'.
  56. \(fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t nil)
  57. (autoload 'with-editor-shell-command "with-editor" "\
  58. Like `shell-command' or `with-editor-async-shell-command'.
  59. If COMMAND ends with \"&\" behave like the latter,
  60. else like the former.
  61. \(fn COMMAND &optional OUTPUT-BUFFER ERROR-BUFFER ENVVAR)" t nil)
  62. (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "with-editor" '("server-" "shell-command--shell-command-with-editor-mode" "start-file-process--with-editor-process-filter" "with-editor")))
  63. ;;;***
  64. ;;;### (autoloads nil nil ("with-editor-pkg.el") (0 0 0 0))
  65. ;;;***
  66. ;; Local Variables:
  67. ;; version-control: never
  68. ;; no-byte-compile: t
  69. ;; no-update-autoloads: t
  70. ;; coding: utf-8
  71. ;; End:
  72. ;;; with-editor-autoloads.el ends here