aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-06-08 01:58:18 +0200
committerStefan Kangas2021-06-08 02:00:29 +0200
commit19ef864084c9765b7736851b46dcbcbe3dbfcf27 (patch)
treeeefed364c95d8fb5eca2b727f3b4da886a57bae0
parent27366fffbb906d7105bbec66facfcdb49718b9d8 (diff)
downloademacs-19ef864084c9765b7736851b46dcbcbe3dbfcf27.tar.gz
emacs-19ef864084c9765b7736851b46dcbcbe3dbfcf27.zip
Fix an example in ERC docs
* doc/misc/erc.texi (Connecting): * lisp/erc/erc.el (erc, erc-tls): Fix example to use J. Random Hacker instead of Harry S. Truman.
-rw-r--r--doc/misc/erc.texi4
-rw-r--r--lisp/erc/erc.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 213b69e1ef2..77a19a4a593 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -518,7 +518,7 @@ That is, if called with the following arguments, @var{server} and
518for the values of the other parameters. 518for the values of the other parameters.
519 519
520@example 520@example
521(erc :server "chat.freenode.net" :full-name "Harry S Truman") 521(erc :server "chat.freenode.net" :full-name "J. Random Hacker")
522@end example 522@end example
523@end defun 523@end defun
524 524
@@ -545,7 +545,7 @@ for the values of the other parameters, and @code{client-certificate}
545will be @code{nil}. 545will be @code{nil}.
546 546
547@example 547@example
548(erc-tls :server "chat.freenode.net" :full-name "Harry S Truman") 548(erc-tls :server "chat.freenode.net" :full-name "J. Random Hacker")
549@end example 549@end example
550 550
551To use a certificate with @code{erc-tls}, specify the optional 551To use a certificate with @code{erc-tls}, specify the optional
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 547056361a8..52452043e90 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -2225,7 +2225,7 @@ Non-interactively, it takes the keyword arguments
2225 2225
2226That is, if called with 2226That is, if called with
2227 2227
2228 (erc :server \"chat.freenode.net\" :full-name \"Harry S Truman\") 2228 (erc :server \"chat.freenode.net\" :full-name \"J. Random Hacker\")
2229 2229
2230then the server and full-name will be set to those values, 2230then the server and full-name will be set to those values,
2231whereas `erc-compute-port' and `erc-compute-nick' will be invoked 2231whereas `erc-compute-port' and `erc-compute-nick' will be invoked
@@ -2260,7 +2260,7 @@ Non-interactively, it takes the keyword arguments
2260 2260
2261That is, if called with 2261That is, if called with
2262 2262
2263 (erc-tls :server \"chat.freenode.net\" :full-name \"Harry S Truman\") 2263 (erc-tls :server \"chat.freenode.net\" :full-name \"J. Random Hacker\")
2264 2264
2265then the server and full-name will be set to those values, 2265then the server and full-name will be set to those values,
2266whereas `erc-compute-port' and `erc-compute-nick' will be invoked 2266whereas `erc-compute-port' and `erc-compute-nick' will be invoked