org.texi: complete org-crypt config example

Complete org-crypt config example with a hackish workaround
to disabling auto-save locally in a buffer:

# -*- buffer-auto-save-file-name: nil; -*-

Thanks to Bill Day for suggesting this.
This commit is contained in:
Bastien Guerry 2011-06-27 18:54:31 +02:00
parent bff1445d49
commit 5fb7c161da

View file

@ -13921,9 +13921,13 @@ To use org-crypt it is suggested that you have the following in your
(setq auto-save-default nil)
;; Auto-saving does not cooperate with org-crypt.el: so you need
;; to turn it off if you plan to use org-crypt.el quite often.
;; to turn it off if you plan to use org-crypt.el quite often.
;; Otherwise, you'll get an (annoying) message each time you
;; start Org.
;; To turn it off only locally, you can insert this:
;;
;; # -*- buffer-auto-save-file-name: nil; -*-
@end example
Excluding the crypt tag from inheritance prevents already encrypted text