From 115417bd79fdfed7a7ee59f2f2218f54d5992599 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 22 Oct 2024 20:47:33 +0200 Subject: [PATCH] ; Update lisp/ldefs-boot.el --- lisp/ldefs-boot.el | 47 ++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 61d0bb0c451..ffc8e2e58da 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -1445,7 +1445,6 @@ point is moved into the passwords (see `authinfo-hide-elements'). (fn)" t) (autoload 'read-passwd "auth-source" "\ Read a password, prompting with PROMPT, and return it. -If optional CONFIRM is non-nil, read the password twice to make sure. Optional DEFAULT is a default password to use instead of empty input. This function echoes `*' for each character that the user types. @@ -16060,6 +16059,7 @@ The mode's hook is called both when the mode is enabled and when it is disabled. (fn &optional ARG)" t) +(put 'global-hl-line-mode 'globalized-minor-mode t) (defvar global-hl-line-mode nil "\ Non-nil if Global Hl-Line mode is enabled. See the `global-hl-line-mode' command @@ -16069,31 +16069,38 @@ either customize it (see the info node `Easy Customization') or call the function `global-hl-line-mode'.") (custom-autoload 'global-hl-line-mode "hl-line" nil) (autoload 'global-hl-line-mode "hl-line" "\ -Toggle line highlighting in all buffers (Global Hl-Line mode). +Toggle Hl-Line mode in all buffers. +With prefix ARG, enable Global Hl-Line mode if ARG is positive; +otherwise, disable it. -If `global-hl-line-sticky-flag' is non-nil, Global Hl-Line mode -highlights the line about the current buffer's point in all live -windows. +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. -Global-Hl-Line mode uses the function `global-hl-line-highlight' -on `post-command-hook'. +Hl-Line mode is enabled in all buffers where `hl-line-mode' would do +it. -This is a global minor mode. If called interactively, toggle the -`Global Hl-Line mode' mode. If the prefix argument is positive, enable -the mode, and if it is zero or negative, disable the mode. +See `hl-line-mode' for more information on Hl-Line 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. +`global-hl-line-modes' is used to control which modes this minor mode +is used in. -To check whether the minor mode is enabled in the current buffer, -evaluate `(default-value \\='global-hl-line-mode)'. +(fn &optional ARG)" t) +(defvar global-hl-line-modes '(archive-mode dired-mode grep-mode ibuffer-mode log-view-mode occur-mode org-agenda-mode proced-mode tabulated-list-mode tar-mode) "\ +Which major modes `hl-line-mode' is switched on in. +This variable can be either t (all major modes), nil (no major modes), +or a list of modes and (not modes) to switch use this minor mode or +not. For instance -The mode's hook is called both when the mode is enabled and when it is -disabled. + (c-mode (not message-mode mail-mode) text-mode) -(fn &optional ARG)" t) -(register-definition-prefixes "hl-line" '("global-hl-line-" "hl-line-")) +means \"use this mode in all modes derived from `c-mode', don't use in +modes derived from `message-mode' or `mail-mode', but do use in other +modes derived from `text-mode'\". An element with value t means \"use\" +and nil means \"don't use\". There's an implicit nil at the end of the +list.") +(custom-autoload 'global-hl-line-modes "hl-line" t) +(register-definition-prefixes "hl-line" '("hl-line-")) ;;; Generated autoloads from net/hmac-def.el @@ -32499,7 +32506,7 @@ the output buffer or changing the window configuration. ;;; Generated autoloads from emacs-lisp/track-changes.el (push (purecopy '(track-changes 1 2)) package--builtin-versions) -(register-definition-prefixes "track-changes" '("track-change" "with--track-changes")) +(register-definition-prefixes "track-changes" '("track-changes-" "with--track-changes")) ;;; Generated autoloads from net/tramp.el -- 2.39.5