emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [PATCH] Don't use possibly-tramp paths with openssl.


From: Greg Troxel
Subject: [Orgmode] [PATCH] Don't use possibly-tramp paths with openssl.
Date: Wed, 13 Oct 2010 19:56:23 -0400

In creating agendas, follow the way all other org files are handled by
encrypting locally and then using copy-file, so that remote agenda.org
paths with tramp will work.
---
 lisp/org-mobile.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 9208d30..26e990d 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -677,8 +677,7 @@ The table of checksums is written to the file 
mobile-checksums."
     (when sumo
       (org-store-agenda-views))
     (when org-mobile-use-encryption
-      (org-mobile-encrypt-file file1 file)
-      (delete-file file1))))
+      (org-mobile-encrypt-and-move file1 file))))
 
 (defun org-mobile-encrypt-and-move (infile outfile)
   "Encrypt INFILE locally to INFILE_enc, then move it to OUTFILE.
-- 
1.7.0.5




reply via email to

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