]> git.eshelyaron.com Git - emacs.git/commitdiff
; Update lisp/ldefs-boot.el
authorEshel Yaron <me@eshelyaron.com>
Thu, 3 Apr 2025 12:02:18 +0000 (14:02 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 3 Apr 2025 12:02:18 +0000 (14:02 +0200)
lisp/ldefs-boot.el

index 5764dee658dbc02349fbc8f2da96a3abc942a37f..e00ebda688a4b60d7ca130da18c40d05e5a1de8a 100644 (file)
@@ -2328,7 +2328,7 @@ Insert the name of the file associated with BOOKMARK-NAME.
 Optional second argument is obsolete and ignored.
 
 (fn BOOKMARK-NAME &optional _)" t)
-(defalias 'bookmark-locate 'bookmark-insert-location)
+(defalias 'bookmark-locate #'bookmark-insert-location)
 (autoload 'bookmark-rename "bookmark" "\
 Change the name of OLD-NAME bookmark to NEW-NAME name.
 If called from keyboard, prompt for OLD-NAME and NEW-NAME.
@@ -2402,8 +2402,8 @@ Display a list of existing bookmarks.
 The list is displayed in a buffer named `*Bookmark List*'.
 The leftmost column displays a D if the bookmark is flagged for
 deletion, or > if it is flagged for displaying." t)
-(defalias 'list-bookmarks 'bookmark-bmenu-list)
-(defalias 'edit-bookmarks 'bookmark-bmenu-list)
+(defalias 'list-bookmarks #'bookmark-bmenu-list)
+(defalias 'edit-bookmarks #'bookmark-bmenu-list)
 (autoload 'bookmark-bmenu-search "bookmark" "\
 Incremental search of bookmarks, hiding the non-matches as we go." '(bookmark-bmenu-mode))
 (defvar menu-bar-bookmark-map (let ((map (make-sparse-keymap "Bookmark functions"))) (define-key map [load] '(menu-item "Load a Bookmark File..." bookmark-load :help "Load bookmarks from a bookmark file)")) (define-key map [write] '(menu-item "Save Bookmarks As..." bookmark-write :help "Write bookmarks to a file (reading the file name with the minibuffer)")) (define-key map [save] '(menu-item "Save Bookmarks" bookmark-save :help "Save currently defined bookmarks")) (define-key map [edit] '(menu-item "Edit Bookmark List" bookmark-bmenu-list :help "Display a list of existing bookmarks")) (define-key map [delete] '(menu-item "Delete Bookmark..." bookmark-delete :help "Delete a bookmark from the bookmark list")) (define-key map [delete-all] '(menu-item "Delete all Bookmarks..." bookmark-delete-all :help "Delete all bookmarks from the bookmark list")) (define-key map [rename] '(menu-item "Rename Bookmark..." bookmark-rename :help "Change the name of a bookmark")) (define-key map [locate] '(menu-item "Insert Location..." bookmark-locate :help "Insert the name of the file associated with a bookmark")) (define-key map [insert] '(menu-item "Insert Contents..." bookmark-insert :help "Insert the text of the file pointed to by a bookmark")) (define-key map [set] '(menu-item "Set Bookmark..." bookmark-set :help "Set a bookmark named inside a file.")) (define-key map [jump] '(menu-item "Jump to Bookmark..." bookmark-jump :help "Jump to a bookmark (a point in some file)")) map))
@@ -4321,30 +4321,6 @@ Prefix argument is the same as for `checkdoc-comments'." t)
 Check the style and spelling of the current defun with Ispell.
 Calls `checkdoc-defun' with spell-checking turned on.
 Prefix argument is the same as for `checkdoc-defun'." t)
-(autoload 'checkdoc-minor-mode "checkdoc" "\
-Toggle automatic docstring checking (Checkdoc minor mode).
-
-In Checkdoc minor mode, the usual bindings for `eval-defun' which is
-bound to \\<checkdoc-minor-mode-map>\\[checkdoc-eval-defun] and `checkdoc-eval-current-buffer' are overridden to include
-checking of documentation strings.
-
-\\{checkdoc-minor-mode-map}
-
-This is a minor mode.  If called interactively, toggle the `Checkdoc
-minor mode' mode.  If the prefix argument is positive, enable the mode,
-and if it is zero or negative, disable the mode.
-
-If called from Lisp, toggle the mode if ARG is `toggle'.  Enable the
-mode if ARG is nil, omitted, or is a positive number.  Disable the mode
-if ARG is a negative number.
-
-To check whether the minor mode is enabled in the current buffer,
-evaluate `checkdoc-minor-mode'.
-
-The mode's hook is called both when the mode is enabled and when it is
-disabled.
-
-(fn &optional ARG)" t)
 (register-definition-prefixes "checkdoc" '("checkdoc-"))
 
 \f
@@ -4411,37 +4387,6 @@ and runs the normal hook `command-history-hook'." t)
 
 (register-definition-prefixes "cl-extra" '("cl-"))
 
-\f
-;;; Generated autoloads from progmodes/cl-font-lock.el
-
-(defvar cl-font-lock-built-in-mode nil "\
-Non-nil if Cl-Font-Lock-Built-In mode is enabled.
-See the `cl-font-lock-built-in-mode' command
-for a description of this minor mode.
-Setting this variable directly does not take effect;
-either customize it (see the info node `Easy Customization')
-or call the function `cl-font-lock-built-in-mode'.")
-(custom-autoload 'cl-font-lock-built-in-mode "cl-font-lock" nil)
-(autoload 'cl-font-lock-built-in-mode "cl-font-lock" "\
-Highlight built-in functions, variables, and types in `lisp-mode'.
-
-This is a global minor mode.  If called interactively, toggle the
-`Cl-Font-Lock-Built-In mode' mode.  If the prefix argument is positive,
-enable the mode, and if it is zero or negative, disable the mode.
-
-If called from Lisp, toggle the mode if ARG is `toggle'.  Enable the
-mode if ARG is nil, omitted, or is a positive number.  Disable the mode
-if ARG is a negative number.
-
-To check whether the minor mode is enabled in the current buffer,
-evaluate `(default-value \\='cl-font-lock-built-in-mode)'.
-
-The mode's hook is called both when the mode is enabled and when it is
-disabled.
-
-(fn &optional ARG)" t)
-(register-definition-prefixes "cl-font-lock" '("cl-font-lock-"))
-
 \f
 ;;; Generated autoloads from emacs-lisp/cl-generic.el
 
@@ -5482,6 +5427,10 @@ For details see `conf-mode'.
        Exec=gimp-2.8 %U
        Terminal=false
 
+(fn)" t)
+(autoload 'conf-npmrc-mode "conf-mode" "\
+
+
 (fn)" t)
 (register-definition-prefixes "conf-mode" '("conf-"))
 
@@ -7334,7 +7283,7 @@ The directory name or wildcard spec that this Dired directory lists.
 Local to each Dired buffer.  May be a list, in which case the car is the
 directory name and the cdr is the list of files to mention.
 The directory name must be absolute, but need not be fully expanded.")
- (define-key ctl-x-map "d" 'dired)
+ (keymap-set ctl-x-map "d" #'dired)
 (autoload 'dired "dired" "\
 \"Edit\" directory DIRNAME--delete, rename, print, etc. some files in it.
 Optional second argument SWITCHES specifies the options to be used
@@ -7359,17 +7308,17 @@ Type \\[describe-mode] after entering Dired for more info.
 If DIRNAME is already in a Dired buffer, that buffer is used without refresh.
 
 (fn DIRNAME &optional SWITCHES)" t)
- (define-key ctl-x-4-map "d" 'dired-other-window)
+ (keymap-set ctl-x-4-map "d" #'dired-other-window)
 (autoload 'dired-other-window "dired" "\
 \"Edit\" directory DIRNAME.  Like `dired' but select in another window.
 
 (fn DIRNAME &optional SWITCHES)" t)
- (define-key ctl-x-5-map "d" 'dired-other-frame)
+ (keymap-set ctl-x-5-map "d" #'dired-other-frame)
 (autoload 'dired-other-frame "dired" "\
 \"Edit\" directory DIRNAME.  Like `dired' but make a new frame.
 
 (fn DIRNAME &optional SWITCHES)" t)
- (define-key tab-prefix-map "d" 'dired-other-tab)
+ (keymap-set tab-prefix-map "d" #'dired-other-tab)
 (autoload 'dired-other-tab "dired" "\
 \"Edit\" directory DIRNAME.  Like `dired' but make a new tab.
 
@@ -9002,7 +8951,6 @@ needed.")
 \f
 ;;; Generated autoloads from emacs-lisp/eieio.el
 
-(push '(eieio 1 4) package--builtin-versions)
 (autoload 'defclass "eieio" "\
 Define NAME as a new class derived from SUPERCLASS with SLOTS.
 OPTIONS-AND-DOC is used as the class' options and base documentation.
@@ -12184,15 +12132,6 @@ lines.
 \f
 ;;; Generated autoloads from progmodes/flymake.el
 
-(push '(flymake 1 3 7) package--builtin-versions)
-(autoload 'flymake-log "flymake" "\
-Log, at level LEVEL, the message MSG formatted with ARGS.
-LEVEL is passed to `display-warning', which is used to display
-the warning.  If this form is included in a file,
-the generated warning contains an indication of the file that
-generated it.
-
-(fn LEVEL MSG &rest ARGS)" nil t)
 (autoload 'flymake-make-diagnostic "flymake" "\
 Make a Flymake diagnostic for LOCUS's region from BEG to END.
 LOCUS is a buffer object or a string designating a file name.
@@ -12273,8 +12212,7 @@ Some backends may take longer than others to respond or complete,
 and some may decide to disable themselves if they are not
 suitable for the current buffer.  The commands
 `flymake-running-backends', `flymake-disabled-backends' and
-`flymake-reporting-backends' summarize the situation, as does the
-special *Flymake log* buffer.
+`flymake-reporting-backends' summarize the situation.
 
 This is a minor mode.  If called interactively, toggle the `Flymake
 mode' mode.  If the prefix argument is positive, enable the mode, and if
@@ -12291,10 +12229,6 @@ The mode's hook is called both when the mode is enabled and when it is
 disabled.
 
 (fn &optional ARG)" t)
-(autoload 'flymake-mode-on "flymake" "\
-Turn Flymake mode on.")
-(autoload 'flymake-mode-off "flymake" "\
-Turn Flymake mode off.")
 (register-definition-prefixes "flymake" '("flymake-"))
 
 \f
@@ -14558,20 +14492,26 @@ The return value is the last VAL in the list.
 
 (fn PLACE VAL PLACE VAL ...)" nil t)
 (autoload 'incf "gv" "\
-Increment PLACE by DELTA (default to 1).
+Increment generalized variable PLACE by DELTA (default to 1).
 
 The DELTA is first added to PLACE, and then stored in PLACE.
 Return the incremented value of PLACE.
 
+For more information about generalized variables, see Info node
+`(elisp) Generalized Variables'.
+
 See also `decf'.
 
 (fn PLACE &optional DELTA)" nil t)
 (autoload 'decf "gv" "\
-Decrement PLACE by DELTA (default to 1).
+Decrement generalized variable PLACE by DELTA (default to 1).
 
 The DELTA is first subtracted from PLACE, and then stored in PLACE.
 Return the decremented value of PLACE.
 
+For more information about generalized variables, see Info node
+`(elisp) Generalized Variables'.
+
 See also `incf'.
 
 (fn PLACE &optional DELTA)" nil t)
@@ -14703,7 +14643,12 @@ list of properties through Custom will set the timer, thus
 enabling buffer local values.  It sets the actual value to nil.
 Thus, Custom distinguishes between a nil value and other values
 that disable the feature, which Custom identifies with `never'.
-The default is `never'.")
+The default is `never'.
+
+Eldoc uses the echo area to display documentation.  As such it
+conflicts with `help-at-pt-display-when-idle' due to the use of
+the echo area.  If you use Eldoc, consider setting
+`eldoc-help-at-pt' instead.")
 (custom-autoload 'help-at-pt-display-when-idle "help-at-pt" nil)
 (autoload 'scan-buf-move-to-region "help-at-pt" "\
 Go to the start of the next region with non-nil PROP property.
@@ -20204,7 +20149,7 @@ about which direction is natural.  Perhaps it has to do with which
 hemisphere you're in.)
 
 To test this function, evaluate:
-    (global-set-key [down-mouse-2] \\='mouse-drag-throw)
+    (keymap-global-set \"<down-mouse-2>\" \\='mouse-drag-throw)
 
 (fn START-EVENT)" t)
 (autoload 'mouse-drag-drag "mouse-drag" "\
@@ -20221,7 +20166,7 @@ Drag scrolling is identical to the \"hand\" option in MacPaint, or the
 middle button in Tk text widgets.
 
 To test this function, evaluate:
-    (global-set-key [down-mouse-2] \\='mouse-drag-drag)
+    (keymap-global-set \"<down-mouse-2>\" \\='mouse-drag-drag)
 
 (fn START-EVENT)" t)
 (register-definition-prefixes "mouse-drag" '("mouse-"))
@@ -29445,7 +29390,7 @@ this defaults to the current buffer.
 Query the user for a process and return the process object.
 
 (fn PROMPT)")
-(register-definition-prefixes "subr-x" '("emacs-etc--hide-local-variables" "hash-table-" "internal--thread-argument" "replace-region-contents" "string-remove-" "thread-" "with-buffer-unmodified-if-unchanged" "work-buffer-"))
+(register-definition-prefixes "subr-x" '("emacs-etc--hide-local-variables" "hash-table-" "internal--thread-argument" "string-remove-" "thread-" "with-buffer-unmodified-if-unchanged" "work-buffer-"))
 
 \f
 ;;; Generated autoloads from progmodes/subword.el
@@ -31379,8 +31324,8 @@ Valid ZONE values are described in the documentation of `format-time-string'.
 (put 'time-stamp-pattern 'safe-local-variable 'stringp)
 (autoload 'time-stamp "time-stamp" "\
 Update any time stamp strings (timestamps) in the buffer.
-Look for a time stamp template and update it with the current date,
-time, and/or other info.
+Look for a time stamp template and update it with the current
+date, time, author, and/or other info.
 
 The template, which you manually create on one of the first 8 lines
 of the file before running this function, by default can look like
@@ -32071,6 +32016,56 @@ nil, the grammar is installed to the standard location, the
 (fn LANG &optional OUT-DIR)" t)
 (register-definition-prefixes "treesit" '("treesit-"))
 
+\f
+;;; Generated autoloads from treesit-x.el
+
+(autoload 'define-treesit-generic-mode "treesit-x" "\
+Create a new treesit generic mode MODE.
+
+A \"treesit\" mode is a simple major mode with basic support for
+Font Lock mode, but otherwise does not have any special keystrokes
+or functionality available.
+
+MODE is the name of the command for the treesit generic mode; don't
+quote it.  The optional DOCSTRING is the documentation for the mode
+command.  If you do not supply it, `define-treesit-generic-mode'
+uses a default documentation string instead.
+
+KEYWORD-ARGS are optional arguments in the form of pairs of keyword
+and value. The following keyword arguments are currently supported:
+
+  :lang is a language symbol of the corresponding tree-sitter grammar.
+
+  :source is either a string for the URL or a list in the same format
+  as for elements in `treesit-language-source-alist', i.e.
+  (URL REVISION SOURCE-DIR CC C++ COMMIT).
+
+  :auto-mode is a regular expression or a list of regular expressions
+  to add to `auto-mode-alist'.  These regular expressions are added
+  when Emacs runs the macro expansion.
+
+  :parent is the name of the command for the parent mode.
+
+  :name is a string that will appear in the mode line.
+
+BODY are forms to execute just before running the
+hooks for the new mode.  Do not use `interactive' here.
+These forms do some additional setup.  The mode command calls
+these functions just before it runs `treesit-major-mode-setup'
+and the mode hook `MODE-hook'.
+
+See at the bottom of the file treesit-x.el for some examples
+of `define-treesit-generic-mode'.
+
+(fn MODE [DOCSTRING] [KEYWORD-ARGS...] &rest BODY)" nil t)
+(function-put 'define-treesit-generic-mode 'doc-string-elt 2)
+(function-put 'define-treesit-generic-mode 'lisp-indent-function 'defun)
+(autoload 'treesit-generic-mode-setup "treesit-x" "\
+Go into the treesit generic mode MODE.
+
+(fn LANG SOURCE)")
+(register-definition-prefixes "treesit-x" '("gitattributes-generic-ts-mode" "treesit-generic-mode-font-lock-"))
+
 \f
 ;;; Generated autoloads from tty-tip.el
 
@@ -33130,11 +33125,11 @@ Usage:
 :magic-fallback  Form to be added to `magic-fallback-mode-alist'.
 :interpreter     Form to be added to `interpreter-mode-alist'.
 
-:commands        Define autoloads for commands that will be defined by the
-                 package.  This is useful if the package is being lazily
-                 loaded, and you wish to conditionally call functions in your
+:commands        Define autoloads for commands defined by the package.
+                 This is useful if the package is being lazily loaded,
+                 and you wish to conditionally call functions in your
                  `:init' block that are defined in the package.
-:autoload        Similar to :commands, but it for no-interactive one.
+:autoload        Similar to `:commands', but used for non-interactive functions.
 :hook            Specify hook(s) to attach this package to.
 
 :bind            Bind keys, and define autoloads for the bound commands.