Skip to content

Instantly share code, notes, and snippets.

@joddie

joddie/patch-1. Secret

Created November 2, 2014 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joddie/afa03f5c53d61da1b26a to your computer and use it in GitHub Desktop.
Save joddie/afa03f5c53d61da1b26a to your computer and use it in GitHub Desktop.
Patches for org-plot / gnuplot integration
diff --git a/lisp/org-plot.el b/lisp/org-plot.el
index 556b9ef..aa5db9a 100644
--- a/lisp/org-plot.el
+++ b/lisp/org-plot.el
@@ -346,7 +346,7 @@ line directly before or after the table."
(gnuplot-send-buffer-to-gnuplot))
;; cleanup
(bury-buffer (get-buffer "*gnuplot*"))
- (run-with-idle-timer 0.1 nil (lambda () (delete-file data-file))))))
+ (run-with-idle-timer 0.1 nil #'delete-file data-file))))
(provide 'org-plot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment