Mercurial > emacs
view doc/lispref/front-cover-1.texi @ 108154:cede0252a395
Make it possible to locally disable a globally enabled mode.
* simple.el (fundamental-mode): Run fundamental-mode-hook.
* emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
rather than kill-all-local-variables so it runs fundamental-mode-hook.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
that subsequent hooks get a chance to disable it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 28 Apr 2010 11:18:37 -0400 |
parents | da0929c60f46 |
children | ef719132ddfa |
line wrap: on
line source
\input texinfo @c -*-texinfo-*- @comment %**start of header @setfilename front1.info @settitle GNU Emacs Lisp Reference Manual @smallbook @comment %**end of header @titlepage . @sp 2 @center @titlefont{The} @sp 1 @center @titlefont{GNU} @sp 1 @center @titlefont{Emacs Lisp} @sp 1 @center @titlefont{Reference} @sp 1 @center @titlefont{Manual} @sp 2 @center GNU Emacs Version 19.29 @center for Unix Users @center Edition 2.4, June 1995 @sp 2 @center @titlefont{Volume 1} @sp 2 @center by Bil Lewis, Dan LaLiberte, @center and the GNU Manual Group @page . @sp 5 @center @titlefont{The} @sp 1 @center @titlefont{GNU} @sp 1 @center @titlefont{Emacs Lisp} @sp 1 @center @titlefont{Reference} @sp 1 @center @titlefont{Manual} @sp 2 @center GNU Emacs Version 19.29 @center for Unix Users @center Edition 2.4, June 1995 @sp 2 @center @titlefont{Volume 2} @sp 2 @center by Bil Lewis, Dan LaLiberte, @center and the GNU Manual Group @end titlepage @bye @ignore arch-tag: 5182b306-c403-4e4f-ba24-e1911bc6da9d @end ignore