[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5f6e64a316: Don't use `format-message' to make doc strings in erc
From: |
Lars Ingebrigtsen |
Subject: |
master 5f6e64a316: Don't use `format-message' to make doc strings in erc-backend |
Date: |
Tue, 24 May 2022 13:02:20 -0400 (EDT) |
branch: master
commit 5f6e64a316adc6cd6ea140453718160643c6cd93
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't use `format-message' to make doc strings in erc-backend
* lisp/erc/erc-backend.el (define-erc-response-handler): Use
`format' here instead of `format-message' since Emacs will expand
the doc string later when the user asks for help about the symbols
defined.
---
lisp/erc/erc-backend.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el
index 4b21711da4..4c13f4c419 100644
--- a/lisp/erc/erc-backend.el
+++ b/lisp/erc/erc-backend.el
@@ -1192,7 +1192,7 @@ Would expand to:
aliases))
(let* ((hook-name (intern (format "erc-server-%s-functions" name)))
(fn-name (intern (format "erc-server-%s" name)))
- (hook-doc (format-message "\
+ (hook-doc (format "\
%sHook called upon receiving a %%s server response.
Each function is called with two arguments, the process associated
with the response and the parsed response. If the function returns
@@ -1203,7 +1203,7 @@ See also `%s'."
(concat extra-var-doc "\n\n")
"")
fn-name))
- (fn-doc (format-message "\
+ (fn-doc (format "\
%sHandler for a %s server response.
PROC is the server process which returned the response.
PARSED is the actual response as an `erc-response' struct.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5f6e64a316: Don't use `format-message' to make doc strings in erc-backend,
Lars Ingebrigtsen <=