Explorar el Código

org-crypt.el: Fix encrypt/decrypt in presence of arbitrary drawers

* lisp/org/org-crypt.el (org-encrypt-entry, org-decrypt-entry): Skip
  _all_ meta data before looking for PGP content.

TINYCHANGE
Bastien hace 4 años
padre
commit
1170e39bea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lisp/org-crypt.el

+ 1 - 1
lisp/org-crypt.el

@@ -215,7 +215,7 @@ Assume `epg-context' is set."
      (let ((start-heading (point))
 	   (crypt-key (org-crypt-key-for-heading))
 	   (folded? (org-invisible-p (line-beginning-position))))
-       (org-end-of-meta-data)
+       (org-end-of-meta-data t)
        (let ((beg (point))
 	     (folded-heading
 	      (and folded?