emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Latest git pull has bug in (org-babel-remove-temporary-directory)
@ 2010-08-26  8:28 Noorul Islam
  2010-08-26 12:14 ` Eric Schulte
  0 siblings, 1 reply; 8+ messages in thread
From: Noorul Islam @ 2010-08-26  8:28 UTC (permalink / raw)
  To: emacs-org list


[-- Attachment #1.1: Type: text/plain, Size: 244 bytes --]

Latest pull is throwing error while quitting emacs.

Here is the patch to fix this.

ob.el:  Fix minor bug

* lisp/ob.el (org-babel-remove-temporary-directory) : Pass correct number of
arguments to (delete-directory)

Thanks and Regards
Noorul

[-- Attachment #1.2: Type: text/html, Size: 353 bytes --]

[-- Attachment #2: ob.txt --]
[-- Type: text/plain, Size: 505 bytes --]

diff --git a/lisp/ob.el b/lisp/ob.el
index 33dbfef..32e2a54 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1679,7 +1679,7 @@ of `org-babel-temporary-directory'."
 (defun org-babel-remove-temporary-directory ()
   "Remove `org-babel-temporary-directory' on Emacs shutdown."
   (when (boundp 'org-babel-temporary-directory)
-    (delete-directory org-babel-temporary-directory t)))
+    (delete-directory org-babel-temporary-directory)))
 
 (add-hook 'kill-emacs-hook 'org-babel-remove-temporary-directory)
 

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-27 15:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26  8:28 [PATCH] Latest git pull has bug in (org-babel-remove-temporary-directory) Noorul Islam
2010-08-26 12:14 ` Eric Schulte
2010-08-26 12:29   ` Noorul Islam
2010-08-26 13:25     ` Eric Schulte
2010-08-26 22:37       ` Seweryn
2010-08-26 13:31   ` Detlef Steuer
2010-08-27 15:30     ` Erik Iverson
2010-08-27 15:45       ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).