1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 23:21:22 -08:00

* doc/misc/auth.texi: Fix use of {} and wrapping in previous change.

This commit is contained in:
Glenn Morris 2017-12-19 15:10:34 -05:00
parent db4f12e93f
commit f946a198cb

View file

@ -169,7 +169,8 @@ get fancy, the default and simplest configuration is:
;;; use pass (@file{~/.password-store})
;;; (@pxref{The Unix password store})
(setq auth-sources '(password-store))
;;; JSON data in format [{ "machine": "SERVER", "login": "USER", "password": "PASSWORD" }...]
;;; JSON data in format [@{ "machine": "SERVER",
;;; "login": "USER", "password": "PASSWORD" @}...]
(setq auth-sources '("~/.authinfo.json.gpg"))
@end lisp
@ -242,7 +243,8 @@ that sort of thing. Just point to a JSON file with entries like this:
@example
[
{ "machine": "yourmachine.com", "port": "http", "login": "testuser", "password": "testpass" }
@{ "machine": "yourmachine.com", "port": "http",
"login": "testuser", "password": "testpass" @}
]
@end example