From 344163403b648fc3a3097d6d3c1ede1deef55d00 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 27 Aug 2010 09:45:07 -0600 Subject: [PATCH] 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 --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 0e5149e81..cc2e116e4 100644 --- a/lisp/ob.el +++ b/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 "^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*"))