I’m editing content in emacs org-mode and using the header structure in both folded and unfolded modes. In editing, though, I’m worried I will accidentally delete a folded subtree containing content.
Is there a way to get org-mode to warn me before deleting a folded subtree containing hidden content?
See the following variables to protect hidden trees under some circumstances:
Note however that those will not protect hidden trees from being killed by, e.g.,
C-w(kill-region).