]> git.eshelyaron.com Git - emacs.git/commitdiff
; Update lisp/ldefs-boot.el
authorEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 18:47:33 +0000 (20:47 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 18:47:33 +0000 (20:47 +0200)
lisp/ldefs-boot.el

index 61d0bb0c451b378e759376c82a1419cbbff3f894..ffc8e2e58daa73bf78de3fa0925521e528ad50e2 100644 (file)
@@ -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-"))
 
 \f
 ;;; 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"))
 
 \f
 ;;; Generated autoloads from net/tramp.el