Explorar o 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 %!s(int64=4) %!d(string=hai) anos
pai
achega
1170e39bea
Modificáronse 1 ficheiros con 1 adicións e 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?