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

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

Re: Default Emacs major mode switched to fundamental-mode?


From: Eli Zaretskii
Subject: Re: Default Emacs major mode switched to fundamental-mode?
Date: Fri, 15 Jun 2018 10:16:41 +0300

> Date: Fri, 15 Jun 2018 07:40:26 +0800
> From: Peter Xu <peterx@redhat.com>
> 
> I did a recent upgrade of my Fedora 28 system, after that I noticed
> that my default major mode for Emacs now becomes fundamental-mode
> instead of text-mode (I believe it was before).

The default in Emacs was always Fundamental mode.  It's possible that
Fedora changed that in their packages, but the upstream default was
never Text mode.

> I noticed that there is a "default-major-mode" variable that I can
> setup, however it's already text-mode. While if I open another new
> common window it'll still be the fundamental mode not text mode.  So
> how would I use this variable?

Ah, so this might be the reason you thought the default was Text
mode.  Emacs 26 removed the default-SOMETHING variables, so setting
default-major-mode now has no effect.  Instead, use setq-default.



reply via email to

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