Fix and document make-temp-file optional text parameter
* lisp/files.el (make-temp-file): Fix initial TEXT parameter. (files--make-magic-temp-file): Support optional TEXT parameter. * etc/NEWS: Document it. * doc/lispref/files.texi: Document it. * test/lisp/auth-source-tests.el: Minor reformat.
This commit is contained in:
parent
10cde01c5e
commit
94f3f13d6d
4 changed files with 24 additions and 16 deletions
|
@ -267,10 +267,8 @@
|
|||
:host "b1" :port "b2" :user "b3")
|
||||
))
|
||||
|
||||
(netrc-file (make-temp-file
|
||||
"auth-source-test"
|
||||
nil nil
|
||||
(mapconcat 'identity entries "\n")))
|
||||
(netrc-file (make-temp-file "auth-source-test" nil nil
|
||||
(mapconcat 'identity entries "\n")))
|
||||
(auth-sources (list netrc-file))
|
||||
(auth-source-do-cache nil)
|
||||
found found-as-string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue