org-crypt.el: reduce the warning time from 5 to 1 second.

This commit is contained in:
Bastien Guerry 2011-06-24 12:53:19 +02:00
parent 301395c6ef
commit dad5a348ad
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ This setting can also be overridden in the CRYPTKEY property."
(when (and (functionp 'daemonp) (when (and (functionp 'daemonp)
(not (daemonp)) auto-save-default) (not (daemonp)) auto-save-default)
(message "Warning: turn auto-save-mode off in Org buffers containing crypted entries.") (message "Warning: turn auto-save-mode off in Org buffers containing crypted entries.")
(sit-for 5)) (sit-for 1))
(add-hook 'org-reveal-start-hook 'org-decrypt-entry) (add-hook 'org-reveal-start-hook 'org-decrypt-entry)