From f724fca732a61536c684d07f21ef34c0f7ca335e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 1 Feb 2023 05:08:57 +0100 Subject: [PATCH] ; Auto-commit of loaddefs files. --- lisp/ldefs-boot.el | 76 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 59 insertions(+), 17 deletions(-) diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 4d5921582cc..73d47804e5d 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -2918,13 +2918,18 @@ and corresponding effects. (register-definition-prefixes "semantic/bovine/c" '("semantic")) + +;;; Generated autoloads from progmodes/c-ts-common.el + +(register-definition-prefixes "c-ts-common" '("c-ts-")) + ;;; Generated autoloads from progmodes/c-ts-mode.el (autoload 'c-ts-base-mode "c-ts-mode" "\ Major mode for editing C, powered by tree-sitter. -\\{c-ts-mode-map} +\\{c-ts-base-mode-map} (fn)" t) (autoload 'c-ts-mode "c-ts-mode" "\ @@ -2932,14 +2937,47 @@ Major mode for editing C, powered by tree-sitter. This mode is independent from the classic cc-mode.el based `c-mode', so configuration variables of that mode, like -`c-basic-offset', don't affect this mode. +`c-basic-offset', doesn't affect this mode. + +To use tree-sitter C/C++ modes by default, evaluate + + (add-to-list \\='major-mode-remap-alist \\='(c-mode . c-ts-mode)) + (add-to-list \\='major-mode-remap-alist \\='(c++-mode . c++-ts-mode)) + (add-to-list \\='major-mode-remap-alist + \\='(c-or-c++-mode . c-or-c++-ts-mode)) + +in your configuration. (fn)" t) (autoload 'c++-ts-mode "c-ts-mode" "\ Major mode for editing C++, powered by tree-sitter. +This mode is independent from the classic cc-mode.el based +`c++-mode', so configuration variables of that mode, like +`c-basic-offset', don't affect this mode. + +To use tree-sitter C/C++ modes by default, evaluate + + (add-to-list \\='major-mode-remap-alist \\='(c-mode . c-ts-mode)) + (add-to-list \\='major-mode-remap-alist \\='(c++-mode . c++-ts-mode)) + (add-to-list \\='major-mode-remap-alist + \\='(c-or-c++-mode . c-or-c++-ts-mode)) + +in your configuration. + (fn)" t) -(register-definition-prefixes "c-ts-mode" '("c-ts-mode-")) +(autoload 'c-or-c++-ts-mode "c-ts-mode" "\ +Analyze buffer and enable either C or C++ mode. + +Some people and projects use .h extension for C++ header files +which is also the one used for C header files. This makes +matching on file name insufficient for detecting major mode that +should be used. + +This function attempts to use file contents to determine whether +the code is C or C++ and based on that chooses whether to enable +`c-ts-mode' or `c++-ts-mode'." t) +(register-definition-prefixes "c-ts-mode" '("c-ts-")) ;;; Generated autoloads from calendar/cal-bahai.el @@ -4652,7 +4690,6 @@ For use inside Lisp programs, see also `c-macro-expansion'. ;;; Generated autoloads from progmodes/cmake-ts-mode.el -(add-to-list 'auto-mode-alist '("\\(?:CMakeLists\\.txt\\|\\.cmake\\)\\'" . cmake-ts-mode)) (autoload 'cmake-ts-mode "cmake-ts-mode" "\ Major mode for editing CMake files, powered by tree-sitter. @@ -5635,7 +5672,6 @@ with empty strings removed. ;;; Generated autoloads from progmodes/csharp-mode.el -(add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-mode)) (add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-mode)) (autoload 'csharp-mode "csharp-mode" "\ Major mode for editing Csharp code. @@ -8011,7 +8047,6 @@ it is disabled. ;;; Generated autoloads from progmodes/dockerfile-ts-mode.el -(add-to-list 'auto-mode-alist '("\\(?:Dockerfile\\(?:\\..*\\)?\\|\\.[Dd]ockerfile\\)\\'" . dockerfile-ts-mode)) (autoload 'dockerfile-ts-mode "dockerfile-ts-mode" "\ Major mode for editing Dockerfiles, powered by tree-sitter. @@ -9157,7 +9192,7 @@ Turn on EDT Emulation." t) ;;; Generated autoloads from progmodes/eglot.el -(push (purecopy '(eglot 1 10)) package--builtin-versions) +(push (purecopy '(eglot 1 11)) package--builtin-versions) (autoload 'eglot "eglot" "\ Start LSP server in support of PROJECT's buffers under MANAGED-MAJOR-MODE. @@ -9195,7 +9230,7 @@ described in `eglot-server-programs', which see. LANGUAGE-ID is the language ID string to send to the server for MANAGED-MAJOR-MODE, which matters to a minority of servers. -INTERACTIVE is t if called interactively. +INTERACTIVE is ignored and provided for backward compatibility. (fn MANAGED-MAJOR-MODE PROJECT CLASS CONTACT LANGUAGE-ID &optional INTERACTIVE)" t) (autoload 'eglot-ensure "eglot" "\ @@ -14368,12 +14403,12 @@ Add the window configuration CONF to `gnus-buffer-configuration'. ;;; Generated autoloads from progmodes/go-ts-mode.el -(add-to-list 'auto-mode-alist '("\\.go\\'" . go-ts-mode)) (autoload 'go-ts-mode "go-ts-mode" "\ Major mode for editing Go, powered by tree-sitter. +\\{go-ts-mode-map} + (fn)" t) -(add-to-list 'auto-mode-alist '("/go\\.mod\\'" . go-mod-ts-mode)) (autoload 'go-mod-ts-mode "go-ts-mode" "\ Major mode for editing go.mod files, powered by tree-sitter. @@ -16204,6 +16239,15 @@ values. (register-definition-prefixes "semantic/html" '("semantic-")) + +;;; Generated autoloads from textmodes/html-ts-mode.el + +(autoload 'html-ts-mode "html-ts-mode" "\ +Major mode for editing Html, powered by tree-sitter. + +(fn)" t) +(register-definition-prefixes "html-ts-mode" '("html-ts-mode-")) + ;;; Generated autoloads from htmlfontify.el @@ -25121,7 +25165,7 @@ Open profile FILENAME. ;;; Generated autoloads from progmodes/project.el -(push (purecopy '(project 0 9 4)) package--builtin-versions) +(push (purecopy '(project 0 9 6)) package--builtin-versions) (autoload 'project-current "project" "\ Return the project instance in DIRECTORY, defaulting to `default-directory'. @@ -27362,6 +27406,7 @@ Major mode for editing Ruby code. ;;; Generated autoloads from progmodes/ruby-ts-mode.el +(push (purecopy '(ruby-ts-mode 0 2)) package--builtin-versions) (autoload 'ruby-ts-mode "ruby-ts-mode" "\ Major mode for editing Ruby, powered by tree-sitter. @@ -27397,7 +27442,6 @@ it is disabled. ;;; Generated autoloads from progmodes/rust-ts-mode.el -(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-ts-mode)) (autoload 'rust-ts-mode "rust-ts-mode" "\ Major mode for editing Rust, powered by tree-sitter. @@ -33066,8 +33110,6 @@ FRAC should be the inverse of the fractional value; for example, a value of ;;; Generated autoloads from progmodes/typescript-ts-mode.el -(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode)) -(add-to-list 'auto-mode-alist '("\\.tsx\\'" . tsx-ts-mode)) (autoload 'typescript-ts-base-mode "typescript-ts-mode" "\ Major mode for editing TypeScript. @@ -33808,7 +33850,7 @@ is \"www.fsf.co.uk\". ;;; Generated autoloads from use-package/use-package.el -(push (purecopy '(use-package 2 4 4)) package--builtin-versions) +(push (purecopy '(use-package 2 4 5)) package--builtin-versions) ;;; Generated autoloads from use-package/use-package-bind-key.el @@ -34415,7 +34457,8 @@ On a distributed version control system, this runs a \"pull\" operation on the current branch, prompting for the precise command if required. Optional prefix ARG non-nil forces a prompt for the VCS command to run. If this is successful, a \"push\" -operation will then be done. +operation will then be done. This is supported only in backends +where the pull operation returns a process. On a non-distributed version control system, this signals an error. It also signals an error in a Bazaar bound branch. @@ -37012,7 +37055,6 @@ a new xwidget-webkit session, otherwise use an existing session. ;;; Generated autoloads from textmodes/yaml-ts-mode.el -(add-to-list 'auto-mode-alist '("\\.ya?ml\\'" . yaml-ts-mode)) (autoload 'yaml-ts-mode "yaml-ts-mode" "\ Major mode for editing YAML, powered by tree-sitter. -- 2.39.5