Variable: org-crypt-disable-auto-save

org-crypt-disable-auto-save is a customizable variable defined in org-crypt.el.gz.

Value

ask

Documentation

What org-decrypt should do if auto-save-mode is enabled.

t : Disable auto-save-mode for the current buffer
           prior to decrypting an entry.

nil : Leave auto-save-mode enabled.
           This may cause data to be written to disk unencrypted!

ask : Ask user whether or not to disable auto-save-mode
           for the current buffer.

encrypt: Leave auto-save-mode enabled for the current buffer,
           but automatically re-encrypt all decrypted entries
           *before* auto-saving.
           NOTE: This only works for entries which have a tag
           that matches org-crypt-tag-matcher.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-crypt.el.gz
(defcustom org-crypt-disable-auto-save 'ask
  "What org-decrypt should do if `auto-save-mode' is enabled.

t        : Disable auto-save-mode for the current buffer
           prior to decrypting an entry.

nil      : Leave auto-save-mode enabled.
           This may cause data to be written to disk unencrypted!

`ask'    : Ask user whether or not to disable auto-save-mode
           for the current buffer.

`encrypt': Leave auto-save-mode enabled for the current buffer,
           but automatically re-encrypt all decrypted entries
           *before* auto-saving.
           NOTE: This only works for entries which have a tag
           that matches `org-crypt-tag-matcher'."
  :group 'org-crypt
  :version "24.1"
  :type '(choice (const :tag "Always"  t)
                 (const :tag "Never"   nil)
                 (const :tag "Ask"     ask)
                 (const :tag "Encrypt" encrypt)))