• Chong Yidong's avatar
    Replace fundamental-mode-hook with change-major-mode-after-body-hook. · 15de15c6
    Chong Yidong authored
    * lisp/simple.el (fundamental-mode):
    * lisp/emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
    change introducing fundamental-mode-hook.
    
    * lisp/subr.el (change-major-mode-after-body-hook): New hook.
    (run-mode-hooks): Run it.
    
    * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use
    change-major-mode-before-body-hook.
    15de15c6
simple.el 267 KB