branch: elpa/org-auto-tangle
commit aa6afc302f175703cdef8447929f6042cfe23cf8
Author: Juergen Hoetzel <[email protected]>
Commit: Juergen Hoetzel <[email protected]>

    Prevent Tramp from prompting for user passwords
    
    There is no easy to handle user interactions in the async Emacs
    process.
    
    Fixes #9
---
 org-auto-tangle.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org-auto-tangle.el b/org-auto-tangle.el
index 8be64716f3..95a8d0f684 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -73,7 +73,8 @@ all Org buffers unless `#+auto_tangle: nil' is set.")
    (let ((args (list file)))
      `(lambda ()
        (require 'org)
-       (let ((start-time (current-time)))
+       (let ((start-time (current-time))
+             (non-essential t))
          (apply #'org-babel-tangle-file ',args)
          (format "%.2f" (float-time (time-since start-time))))))
    (let ((message-string (format "Tangling %S completed after" file)))

Reply via email to