• Chong Yidong's avatar
    More updates to Modes chapter of Emacs manual. · dc95a8b0
    Chong Yidong authored
    * doc/emacs/modes.texi (Major Modes): Move major-mode variable doc here from
    Choosing Modes.  Document describe-mode.  Document prog-mode-hook
    and text-mode-hook.  Add example of using hooks.
    (Minor Modes): Document behavior of mode command calls from Lisp.
    Note that setting the mode variable using Customize will DTRT.
    (Choosing Modes): Add example of setting a minor mode using a
    local variable.
modes.texi 18.1 KB