Variable: allout-encrypt-unencrypted-on-saves

allout-encrypt-unencrypted-on-saves is a customizable and buffer-local variable defined in allout.el.gz.

Documentation

If non-nil, topics pending encryption are encrypted during buffer saves.

This prevents file-system exposure of un-encrypted contents of items marked for encryption.

When non-nil, if the topic currently being edited is decrypted, it will be encrypted for saving but automatically decrypted before any subsequent user interaction, so it is once again clear text for editing though the file system copy is encrypted.

(Auto-saves are handled differently. Buffers with plain-text
exposed encrypted topics are exempted from auto saves until all such topics are encrypted.)

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

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  = allout-encrypt-unencrypted-on-saves
(defcustom allout-encrypt-unencrypted-on-saves t
  "If non-nil, topics pending encryption are encrypted during buffer saves.

This prevents file-system exposure of un-encrypted contents of
items marked for encryption.

When non-nil, if the topic currently being edited is decrypted,
it will be encrypted for saving but automatically decrypted
before any subsequent user interaction, so it is once again clear
text for editing though the file system copy is encrypted.

\(Auto-saves are handled differently.  Buffers with plain-text
exposed encrypted topics are exempted from auto saves until all
such topics are encrypted.)"
  :type 'boolean
  :local t
  :version "23.1"
  :group 'allout-encryption)