Browse Source

call to delete-file no longer throwing errors on some Emacsen

  Thanks to Erik Iverson for pointing this out

* lisp/ob.el (org-babel-remove-temporary-directory): removed explicit
  second argument
Eric Schulte 15 years ago
parent
commit
344163403b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -1694,7 +1694,7 @@ of `org-babel-temporary-directory'."
 	    ;; but more efficient
 	    (if (eq t (car (file-attributes file)))
 		(delete-directory file)
-	      (delete-file file nil)))
+	      (delete-file file)))
 	  ;; We do not want to delete "." and "..".
 	  (directory-files org-babel-temporary-directory 'full
 			   "^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*"))