forked from mirrors/org-mode
* lisp/org-fold.el (org-fold-catch-invisible-edits-commands): New custom option. (org-fold-catch-invisible-edits): Mention the new custom option in the docstring. (org-fold-check-before-invisible-edit-maybe): New function checking if edits are safe for `this-command'. (org-fold--advice-edit-commands): New function advising the functions with `org-fold-check-before-invisible-edit-maybe'. * lisp/org.el (org-mode): Advice functions on Org startup. (org-self-insert-command): (org-delete-backward-char): (org-delete-char): (org-meta-return): Do not call `org-fold-check-before-invisible-edit' and rely on the new advise mechanism instead. * etc/ORG-NEWS (Commands affected by ~org-fold-catch-invisible-edits~ can now be customized): Announce the change. * doc/org-manual.org (Catching invisible edits): Mention new customization. |
||
---|---|---|
.. | ||
.aspell.org.conf | ||
.nosearch | ||
dir | ||
doc-setup.org | ||
Documentation_Standards.org | ||
fdl.org | ||
htmlxref.cnf | ||
Makefile | ||
org-guide.org | ||
org-manual.org | ||
orgcard.tex | ||
pdflayout.sty | ||
texinfo.tex |