emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-auto-tangle aa6afc302f 49/56: Prevent Tramp from promp


From: ELPA Syncer
Subject: [nongnu] elpa/org-auto-tangle aa6afc302f 49/56: Prevent Tramp from prompting for user passwords
Date: Mon, 6 Jun 2022 11:58:55 -0400 (EDT)

branch: elpa/org-auto-tangle
commit aa6afc302f175703cdef8447929f6042cfe23cf8
Author: Juergen Hoetzel <juergen@hoetzel.info>
Commit: Juergen Hoetzel <juergen@hoetzel.info>

    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

[Prev in Thread] Current Thread [Next in Thread]