summaryrefslogtreecommitdiff
path: root/test/lisp/auth-source-tests.el
diff options
context:
space:
mode:
authorTed Zlatanov <tzz@lifelogs.com>2017-08-18 21:55:11 -0400
committerTed Zlatanov <tzz@lifelogs.com>2017-08-18 21:59:39 -0400
commit94f3f13d6db0103267c514133109aebee6efb023 (patch)
treed2222abba85db8a446cadc06f9e84a0149924a1d /test/lisp/auth-source-tests.el
parent10cde01c5e39f13287c64ec53adb191b8331a6cf (diff)
downloademacs-94f3f13d6db0103267c514133109aebee6efb023.tar.gz
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/lisp/auth-source-tests.el')
-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 @@
: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)