summaryrefslogtreecommitdiff
path: root/doc/misc/auth.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/auth.texi')
-rw-r--r--doc/misc/auth.texi17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index 2de4cfdab7f..976143e8e39 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -4,7 +4,7 @@
@set VERSION 0.3
-@setfilename ../../info/auth
+@setfilename ../../info/auth.info
@settitle Emacs auth-source Library @value{VERSION}
@documentencoding UTF-8
@@ -106,12 +106,17 @@ The @code{user} is the user name. It's known as @var{:user} in
@code{auth-source-search} queries. You can also use @code{login} and
@code{account}.
-Spaces are always OK as far as auth-source is concerned (but other
-programs may not like them). Just put the data in quotes, escaping
-quotes as you'd expect with @samp{\}.
+You can use spaces inside a password or other token by surrounding the
+token with either single or double quotes.
-All these are optional. You could just say (but we don't recommend
-it, we're just showing that it's possible)
+You can use single quotes inside a password or other token by
+surrounding it with double quotes, e.g. @code{"he'llo"}. Similarly you
+can use double quotes inside a password or other token by surrounding
+it with single quotes, e.g. @code{'he"llo'}. You can't mix both (so a
+password or other token can't have both single and double quotes).
+
+All this is optional. You could just say (but we don't recommend it,
+we're just showing that it's possible)
@example
password @var{mypassword}