help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'initial-major-mode interaction with 'major-mode


From: Stefan Monnier
Subject: Re: 'initial-major-mode interaction with 'major-mode
Date: Wed, 08 Dec 2010 15:08:48 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Starting with 23.2, we get warned that 'default-major-mode is
> "obsolete" and that we should use 'text-mode instead when byte
> compiling .emacs. The only problem is that

default-major-mode was a weird alias for (default-value 'major-mode).
So (setq default-major-mode <foo>) is the same as
(setq-default major-mode <foo>).


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]