aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog1
-rw-r--r--doc/misc/erc.texi24
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 82e0cd0f856..0a837320b43 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * erc.texi (Modules): Undocument obsolete "hecomplete". 3 * erc.texi (Modules): Undocument obsolete "hecomplete".
4 Add "notifications". 4 Add "notifications".
5 (Connecting): Add brief section on passwords.
5 6
62012-11-12 Glenn Morris <rgm@gnu.org> 72012-11-12 Glenn Morris <rgm@gnu.org>
7 8
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index b5c0dd3c718..ea315cd86fa 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -604,6 +604,30 @@ ERC should automatically attempt to connect with another nickname.
604You can manually set another nickname with the /NICK command. 604You can manually set another nickname with the /NICK command.
605@end defopt 605@end defopt
606 606
607@subheading Password
608@cindex password
609
610@defopt erc-prompt-for-password
611If non-@code{nil} (the default), @kbd{M-x erc} prompts for a password.
612@end defopt
613
614If you prefer, you can set this option to @code{nil} and use the
615@code{auth-source} mechanism to store your password. For instance, if
616you use @file{~/.authinfo} as your auth-source backend, then put
617something like the following in that file:
618
619@example
620machine irc.example.net login "#fsf" password sEcReT
621@end example
622
623@noindent
624ERC also consults @code{auth-source} to find any channel keys required
625for the channels that you wish to autojoin, as specified by the
626variable @code{erc-autojoin-channels-alist}.
627
628For more details, @pxref{Top,,auth-source, auth, Emacs auth-source Library}.
629
630
607@subheading Full name 631@subheading Full name
608 632
609@defun erc-compute-full-name &optional full-name 633@defun erc-compute-full-name &optional full-name