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 "^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*"))