Function: allout-after-saves-handler
allout-after-saves-handler is a byte-compiled function defined in
allout.el.gz.
Signature
(allout-after-saves-handler)
Documentation
Decrypt topic encrypted for save, if it's currently being edited.
Ie, if it was pending encryption and contained the point in its body before the save.
We use values stored in allout-after-save-decrypt to locate the topic
and the place for the cursor after the decryption is done.
Source Code
;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_ > allout-after-saves-handler ()
(defun allout-after-saves-handler ()
"Decrypt topic encrypted for save, if it's currently being edited.
Ie, if it was pending encryption and contained the point in its body before
the save.
We use values stored in `allout-after-save-decrypt' to locate the topic
and the place for the cursor after the decryption is done."
(if (not (and (allout-mode-p)
(boundp 'allout-after-save-decrypt)
allout-after-save-decrypt))
t
(goto-char (car allout-after-save-decrypt))
(let ((was-modified (buffer-modified-p)))
(allout-toggle-subtree-encryption)
(if (not was-modified)
(set-buffer-modified-p nil)))
(goto-char (cadr allout-after-save-decrypt))
(setq allout-after-save-decrypt nil))
)