Function: allout-maybe-resume-auto-save-info-after-encryption

allout-maybe-resume-auto-save-info-after-encryption is a byte-compiled function defined in allout.el.gz.

Signature

(allout-maybe-resume-auto-save-info-after-encryption)

Documentation

Restore auto-save info, *if* there are no topics pending encryption.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_  > allout-maybe-resume-auto-save-info-after-encryption ()
(defun allout-maybe-resume-auto-save-info-after-encryption ()
  "Restore auto-save info, *if* there are no topics pending encryption."
  (when (and allout-auto-save-temporarily-disabled
             (= buffer-saved-size -1)
             (save-excursion
               (save-restriction
                 (widen)
                 (goto-char (point-min))
                 (not (allout-next-topic-pending-encryption)))))
    (setq buffer-saved-size allout-auto-save-temporarily-disabled
          allout-auto-save-temporarily-disabled nil)))