Function: org-archive-subtree-default-with-confirmation

org-archive-subtree-default-with-confirmation is an autoloaded, interactive and byte-compiled function defined in org-archive.el.gz.

Signature

(org-archive-subtree-default-with-confirmation)

Documentation

Archive the current subtree with the default command.

This command is set with the variable org-archive-default-command.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-archive.el.gz
;;;###autoload
(defun org-archive-subtree-default-with-confirmation ()
  "Archive the current subtree with the default command.
This command is set with the variable `org-archive-default-command'."
  (interactive)
  (if (y-or-n-p "Archive this subtree or entry? ")
      (call-interactively org-archive-default-command)
    (error "Abort")))