Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2012-09-26 08:25:16 +02:00
commit 74c294ac84
1 changed files with 4 additions and 1 deletions

View File

@ -58,6 +58,9 @@
(declare-function org-table-goto-line "org-table" (N))
(declare-function org-pop-to-buffer-same-window "org-compat"
(&optional buffer-or-name norecord label))
(declare-function org-at-encrypted-entry-p "org-crypt" ())
(declare-function org-encrypt-entry "org-crypt" ())
(declare-function org-decrypt-entry "org-crypt" ())
(defvar org-remember-default-headline)
(defvar org-remember-templates)
@ -928,7 +931,7 @@ Store them in the capture property list."
(t (error "Invalid capture target specification")))
(when (org-at-encrypted-entry-p)
(when (and (featurep 'org-crypt) (org-at-encrypted-entry-p))
(org-decrypt-entry)
(setq decrypted-hl-pos
(save-excursion (and (org-back-to-heading t) (point)))))