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

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

Re: Major mode weirdness.


From: R. Clayton
Subject: Re: Major mode weirdness.
Date: Wed, 13 Jul 2011 16:41:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

use
(setq default-major-mode 'text-mode)
for all new buffers (initial *scratch* buffer is different though)

  Ah, but that's what started the problem.  I originally had that, but learned,
  via the help-variable documentation, that default-major-mode is obsolete, and
  should be replaced by major-mode:

    default-major-mode is a variable defined in `C source code'.
    Its value is fundamental-mode

      This variable is obsolete since 23.2;
      use `major-mode' instead.

    Documentation:
    *Value of `major-mode' for new buffers.

  Wishing to be up-do-date, I replaced default-major-mode with major-mode, and
  so began my problems (or at least one of them).




reply via email to

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