diff options
| author | Eli Zaretskii | 2024-06-15 13:06:09 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-06-15 13:06:09 -0400 |
| commit | 1bc093e33cb60eb85efe6a61d42d7ea58b40fa57 (patch) | |
| tree | 93d855511be95dfc1099e94f9e1405630708a18f | |
| parent | 9b2e1b5e16c233cf5ea039e17175580793a4e5ef (diff) | |
| parent | 59261e6f4fef0ec03c8127b29fe107ed19280a3b (diff) | |
| download | emacs-1bc093e33cb60eb85efe6a61d42d7ea58b40fa57.tar.gz emacs-1bc093e33cb60eb85efe6a61d42d7ea58b40fa57.zip | |
Merge from origin/emacs-29
59261e6f4fe Fix auth-info-password
778f8c793d1 ; * lisp/mail/rmail.el (rmail-get-new-mail-hook): Doc fix.
e6044b29e65 ; Minor fixes in ELisp manual
| -rw-r--r-- | doc/lispref/help.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/searching.texi | 6 | ||||
| -rw-r--r-- | lisp/auth-source.el | 6 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 4 |
4 files changed, 19 insertions, 10 deletions
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 1db50f36132..4ddd84f470e 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -334,6 +334,9 @@ stands for a key sequence that will invoke @var{command}, or @samp{M-x | |||
| 334 | @item \@{@var{mapvar}@} | 334 | @item \@{@var{mapvar}@} |
| 335 | stands for a summary of the keymap which is the value of the variable | 335 | stands for a summary of the keymap which is the value of the variable |
| 336 | @var{mapvar}. The summary is made using @code{describe-bindings}. | 336 | @var{mapvar}. The summary is made using @code{describe-bindings}. |
| 337 | The summary will normally exclude meny bindings, but if the | ||
| 338 | @var{include-menus} argument to @code{substitute-command-keys} is | ||
| 339 | non-@code{nil}, the menu bindings will be included. | ||
| 337 | 340 | ||
| 338 | @item \<@var{mapvar}> | 341 | @item \<@var{mapvar}> |
| 339 | stands for no text itself. It is used only for a side effect: it | 342 | stands for no text itself. It is used only for a side effect: it |
| @@ -384,11 +387,6 @@ given a special face @code{help-key-binding}, but if the optional | |||
| 384 | argument @var{no-face} is non-@code{nil}, the function doesn't add | 387 | argument @var{no-face} is non-@code{nil}, the function doesn't add |
| 385 | this face to the produced string. | 388 | this face to the produced string. |
| 386 | 389 | ||
| 387 | @defun substitute-quotes string | ||
| 388 | This function works like @code{substitute-command-keys}, but only | ||
| 389 | replaces quote characters. | ||
| 390 | @end defun | ||
| 391 | |||
| 392 | @cindex advertised binding | 390 | @cindex advertised binding |
| 393 | If a command has multiple bindings, this function normally uses the | 391 | If a command has multiple bindings, this function normally uses the |
| 394 | first one it finds. You can specify one particular key binding by | 392 | first one it finds. You can specify one particular key binding by |
| @@ -440,6 +438,11 @@ The keymap description will normally exclude menu items, but if | |||
| 440 | @end group | 438 | @end group |
| 441 | @end smallexample | 439 | @end smallexample |
| 442 | 440 | ||
| 441 | @defun substitute-quotes string | ||
| 442 | This function works like @code{substitute-command-keys}, but only | ||
| 443 | replaces quote characters. | ||
| 444 | @end defun | ||
| 445 | |||
| 443 | There are other special conventions for the text in documentation | 446 | There are other special conventions for the text in documentation |
| 444 | strings---for instance, you can refer to functions, variables, and | 447 | strings---for instance, you can refer to functions, variables, and |
| 445 | sections of this manual. @xref{Documentation Tips}, for details. | 448 | sections of this manual. @xref{Documentation Tips}, for details. |
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 2fa7ebc903d..6e3680bdb4f 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -2216,7 +2216,11 @@ this regular expression. However, spaces inside of constructs such as | |||
| 2216 | 2216 | ||
| 2217 | Since this variable affects all regular expression search and match | 2217 | Since this variable affects all regular expression search and match |
| 2218 | constructs, you should bind it temporarily for as small as possible | 2218 | constructs, you should bind it temporarily for as small as possible |
| 2219 | a part of the code. | 2219 | a part of the code, and only where the Lisp code affected by the |
| 2220 | binding performs searches whose regexp was produced from interactive | ||
| 2221 | user input. In other words, this variable should only be used to tell | ||
| 2222 | regexp search primitives how to interpret whitespace typed by the | ||
| 2223 | user. | ||
| 2220 | @end defvar | 2224 | @end defvar |
| 2221 | 2225 | ||
| 2222 | @node Longest Match | 2226 | @node Longest Match |
diff --git a/lisp/auth-source.el b/lisp/auth-source.el index 2de78c5ae55..9ec9ede80e0 100644 --- a/lisp/auth-source.el +++ b/lisp/auth-source.el | |||
| @@ -869,9 +869,9 @@ while \(:host t) would find all host entries." | |||
| 869 | (defun auth-info-password (auth-info) | 869 | (defun auth-info-password (auth-info) |
| 870 | "Return the :secret password from the AUTH-INFO." | 870 | "Return the :secret password from the AUTH-INFO." |
| 871 | (let ((secret (plist-get auth-info :secret))) | 871 | (let ((secret (plist-get auth-info :secret))) |
| 872 | (if (functionp secret) | 872 | (while (functionp secret) |
| 873 | (funcall secret) | 873 | (setq secret (funcall secret))) |
| 874 | secret))) | 874 | secret)) |
| 875 | 875 | ||
| 876 | (defun auth-source-pick-first-password (&rest spec) | 876 | (defun auth-source-pick-first-password (&rest spec) |
| 877 | "Pick the first secret found by applying `auth-source-search' to SPEC." | 877 | "Pick the first secret found by applying `auth-source-search' to SPEC." |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index d422383acdf..2b119c7a5c7 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -462,7 +462,9 @@ as argument, to ask the user that question." | |||
| 462 | "List of functions to call when Rmail is invoked.") | 462 | "List of functions to call when Rmail is invoked.") |
| 463 | 463 | ||
| 464 | (defvar rmail-get-new-mail-hook nil | 464 | (defvar rmail-get-new-mail-hook nil |
| 465 | "List of functions to call when Rmail has retrieved new mail.") | 465 | "List of functions to call when Rmail has retrieved new mail. |
| 466 | The functions are called in `rmail-buffer' narrowed to include | ||
| 467 | only the new email messages, with point at the first new mail.") | ||
| 466 | 468 | ||
| 467 | ;;;###autoload | 469 | ;;;###autoload |
| 468 | (defcustom rmail-show-message-hook nil | 470 | (defcustom rmail-show-message-hook nil |