Function: org-mobile-encrypt-and-move
org-mobile-encrypt-and-move is a byte-compiled function defined in
org-mobile.el.gz.
Signature
(org-mobile-encrypt-and-move INFILE OUTFILE)
Documentation
Encrypt INFILE locally to INFILE_enc, then move it to OUTFILE.
We do this in two steps so that remote paths will work, even if the encryption program does not understand them.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-mobile.el.gz
(defun org-mobile-encrypt-and-move (infile outfile)
"Encrypt INFILE locally to INFILE_enc, then move it to OUTFILE.
We do this in two steps so that remote paths will work, even if the
encryption program does not understand them."
(let ((encfile (concat infile "_enc")))
(org-mobile-encrypt-file infile encfile)
(when outfile
(copy-file encfile outfile 'ok-if-already-exists)
(delete-file encfile))))