Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/json-mode-20240427.1245/json-mode-autoloads.el

63 lines
2.3 KiB
EmacsLisp
Raw Permalink Normal View History

2024-07-28 16:03:37 +00:00
;;; json-mode-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
;; Generated by the `loaddefs-generate' function.
;; This file is part of GNU Emacs.
2023-07-27 19:42:55 +00:00
;;; Code:
2024-07-28 16:03:37 +00:00
(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
2023-07-27 19:42:55 +00:00
;;; Generated autoloads from json-mode.el
(defconst json-mode-standard-file-ext '(".json" ".jsonld") "\
List of JSON file extensions.")
(defsubst json-mode--update-auto-mode (filenames) "\
Update the `json-mode' entry of `auto-mode-alist'.
FILENAMES should be a list of file as string.
Return the new `auto-mode-alist' entry" (let* ((new-regexp (rx-to-string `(seq (eval (cons 'or (append json-mode-standard-file-ext ',filenames))) eot))) (new-entry (cons new-regexp 'json-mode)) (old-entry (when (boundp 'json-mode--auto-mode-entry) json-mode--auto-mode-entry))) (setq auto-mode-alist (delete old-entry auto-mode-alist)) (add-to-list 'auto-mode-alist new-entry) new-entry))
(defvar json-mode-auto-mode-list '(".babelrc" ".bowerrc" "composer.lock") "\
List of filenames for the JSON entry of `auto-mode-alist'.
Note however that custom `json-mode' entries in `auto-mode-alist'
wont be affected.")
(custom-autoload 'json-mode-auto-mode-list "json-mode" nil)
(defvar json-mode--auto-mode-entry (json-mode--update-auto-mode json-mode-auto-mode-list) "\
Regexp generated from the `json-mode-auto-mode-list'.")
(autoload 'json-mode "json-mode" "\
Major mode for editing JSON files.
2024-07-28 16:03:37 +00:00
(fn)" t)
2023-07-27 19:42:55 +00:00
(autoload 'jsonc-mode "json-mode" "\
Major mode for editing JSON files with comments.
2024-07-28 16:03:37 +00:00
(fn)" t)
2023-07-27 19:42:55 +00:00
(add-to-list 'magic-fallback-mode-alist '("^[{[]$" . json-mode))
(autoload 'json-mode-show-path "json-mode" "\
2024-07-28 16:03:37 +00:00
Print the path to the node at point to the minibuffer." t)
2023-07-27 19:42:55 +00:00
(autoload 'json-mode-kill-path "json-mode" "\
2024-07-28 16:03:37 +00:00
Save JSON path to object at point to kill ring." t)
2023-07-27 19:42:55 +00:00
(autoload 'json-mode-beautify "json-mode" "\
Beautify/pretty-print from BEGIN to END.
If the region is not active, beautify the entire buffer .
2024-07-28 16:03:37 +00:00
(fn BEGIN END)" t)
2023-07-27 19:42:55 +00:00
(register-definition-prefixes "json-mode" '("json"))
2024-07-28 16:03:37 +00:00
;;; End of scraped data
(provide 'json-mode-autoloads)
2023-07-27 19:42:55 +00:00
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
2024-07-28 16:03:37 +00:00
;; no-native-compile: t
;; coding: utf-8-emacs-unix
2023-07-27 19:42:55 +00:00
;; End:
2024-07-28 16:03:37 +00:00
2023-07-27 19:42:55 +00:00
;;; json-mode-autoloads.el ends here