Why setting the not-modified flag comes after running a hook?  AFAIK,
    there is a convention that run-hook should be the last element in the
    function body, so users could override every default settings of the
    function, including in this particular case setting the modification flag.

There is no such convention, and many hooks are run from the middle
of a function.  However, you may have a valid point that, all else
being equal, it is usually better to run the hook at the end.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to