]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove superfluous argument.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 7 Feb 2014 15:56:15 +0000 (16:56 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 7 Feb 2014 15:56:15 +0000 (16:56 +0100)
test/automated/tramp-tests.el

index 182dc4bdfb70f66e006ef85450647383d540e6cb..67f55254da134cd6f11a3b1cf870e4e87e2a600c 100644 (file)
@@ -1153,7 +1153,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
        (default-directory tramp-test-temporary-file-directory))
     (unwind-protect
        (with-temp-buffer
-         (write-region "foo" nil tmp-name nil)
+         (write-region "foo" nil tmp-name)
          (should (file-exists-p tmp-name))
          (shell-command
           (format "ls %s" (file-name-nondirectory tmp-name)) (current-buffer))
@@ -1164,7 +1164,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
 
     (unwind-protect
         (with-temp-buffer
-          (write-region "foo" nil tmp-name nil)
+          (write-region "foo" nil tmp-name)
          (should (file-exists-p tmp-name))
           (async-shell-command
           (format "ls %s" (file-name-nondirectory tmp-name)) (current-buffer))