aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTed Zlatanov2017-08-18 21:55:11 -0400
committerTed Zlatanov2017-08-18 21:59:39 -0400
commit94f3f13d6db0103267c514133109aebee6efb023 (patch)
treed2222abba85db8a446cadc06f9e84a0149924a1d /test
parent10cde01c5e39f13287c64ec53adb191b8331a6cf (diff)
downloademacs-94f3f13d6db0103267c514133109aebee6efb023.tar.gz
emacs-94f3f13d6db0103267c514133109aebee6efb023.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/auth-source-tests.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/lisp/auth-source-tests.el b/test/lisp/auth-source-tests.el
index f35c4009535..90a4475ab0d 100644
--- a/test/lisp/auth-source-tests.el
+++ b/test/lisp/auth-source-tests.el
@@ -267,10 +267,8 @@
267 :host "b1" :port "b2" :user "b3") 267 :host "b1" :port "b2" :user "b3")
268 )) 268 ))
269 269
270 (netrc-file (make-temp-file 270 (netrc-file (make-temp-file "auth-source-test" nil nil
271 "auth-source-test" 271 (mapconcat 'identity entries "\n")))
272 nil nil
273 (mapconcat 'identity entries "\n")))
274 (auth-sources (list netrc-file)) 272 (auth-sources (list netrc-file))
275 (auth-source-do-cache nil) 273 (auth-source-do-cache nil)
276 found found-as-string) 274 found found-as-string)