Óscar Fuentes writes:
> With a gpg executable with default settings, org-encrypt-entry produces
> output like this:
>
> -BEGIN PGP MESSAGE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> jA0EAwMCBWZVym6QMPVgyTxreTb1AEL3uTO+qCh2lR9/Qxk4nEMpPr9/RwNk95Gb
> slUra9X+N+qSWghEHvvxY0Ol8Yw9Ko4n7JVhH
Óscar Fuentes writes:
> +(defun org-crypt-wash-encrypted-string (str)
> + "Remove superfluos and annoying text from the encrypted string."
> + (with-temp-buffer
Typo in the docstring: superfluos -> superfluous
--
Bernt
Óscar Fuentes writes:
[snip]
> + (setq str (replace-regexp-in-string "^Version:.*$" "" str))
Ugh... replace-regexp-in-string does not exist on XEmacs. Time for a
rewrite. Still, it would good to know if the goal is acceptable.