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.

75 lines
3.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. ;;; format-all-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 "format-all" "format-all.el" (0 0 0 0))
  7. ;;; Generated autoloads from format-all.el
  8. (autoload 'format-all-buffer "format-all" "\
  9. Auto-format the source code in the current buffer.
  10. No disk files are touched - the buffer doesn't even need to be
  11. saved. If you don't like the results of the formatting, you can
  12. use ordinary undo to get your code back to its previous state.
  13. You will need to install external programs to do the formatting.
  14. If the command can't find the program that it needs, it will try
  15. to tell you how you might be able to install it on your operating
  16. system. Only BibTeX, Emacs Lisp and Ledger are formatted without an
  17. external program.
  18. A suitable formatter is selected according to the `major-mode' of
  19. the buffer. Many popular programming languages are supported.
  20. It is fairly easy to add new languages that have an external
  21. formatter. When called interactively or PROMPT-P is non-nil, a
  22. missing formatter is prompted in the minibuffer.
  23. If PROMPT is non-nil (or the function is called as an interactive
  24. command), a missing formatter is prompted in the minibuffer. If
  25. PROMPT is the symbol `always' (or a prefix argument is given),
  26. the formatter is prompted for even if one has already been set.
  27. If any errors or warnings were encountered during formatting,
  28. they are shown in a buffer called *format-all-errors*.
  29. \(fn &optional PROMPT)" t nil)
  30. (autoload 'format-all-mode "format-all" "\
  31. Toggle automatic source code formatting before save.
  32. When this minor mode (FmtAll) is enabled, `format-all-buffer' is
  33. automatically called to format your code each time before you
  34. save the buffer.
  35. The mode is buffer-local and needs to be enabled separately each
  36. time a file is visited. You may want to use `add-hook' in your
  37. `user-init-file' to enable the mode based on buffer modes. E.g.:
  38. (add-hook 'prog-mode-hook 'format-all-mode)
  39. To use a default formatter for projects that don't have one, add
  40. this too:
  41. (add-hook 'prog-mode-hook 'format-all-ensure-formatter)
  42. When `format-all-mode' is called as a Lisp function, the mode is
  43. toggled if ARG is toggle, disabled if ARG is a negative integer
  44. or zero, and enabled otherwise.
  45. \(fn &optional ARG)" t nil)
  46. (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "format-all" '("atsfmt" "beautysh" "bibtex-mode" "black" "brittany" "bsrefmt" "buildifier" "cabal-fmt" "cmake-format" "crystal" "dartfmt" "define-format-all-formatter" "dfmt" "dhall" "dockfmt" "elm-format" "emacs-lisp" "fish-indent" "format-all-" "fprettify" "gleam" "hindent" "html-tidy" "istyle-verilog" "jsonnetfmt" "ktlint" "latexindent" "ledger-mode" "lua-fmt" "mix-format" "nix" "ocp-indent" "ormolu" "perltidy" "pgformatter" "prettier" "purty" "resfmt" "scalafmt" "shfmt" "snakefmt" "sqlformat" "swiftformat" "terraform-fmt" "yapf")))
  47. ;;;***
  48. ;; Local Variables:
  49. ;; version-control: never
  50. ;; no-byte-compile: t
  51. ;; no-update-autoloads: t
  52. ;; coding: utf-8
  53. ;; End:
  54. ;;; format-all-autoloads.el ends here