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

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

bug#5688: mention one needs setq-default to change the default major-mod


From: jidanni
Subject: bug#5688: mention one needs setq-default to change the default major-mode
Date: Sat, 06 Mar 2010 20:12:31 +0800

In (info "(emacs) Choosing Modes")
After
      When you visit a file that does not specify a major mode to use, or
   when you create a new buffer with `C-x b', the default value of the
   variable `major-mode' specifies which major mode to use.  Normally its
   value is the symbol `fundamental-mode', which specifies Fundamental
   mode.
Please add
   To change it to e.g., text-mode, in your .emacs use
      (setq-default major-mode 'text-mode)

Else beginners (and enders) will just try setq.
Also perhaps mention setq-default in the (describe-variable 'major-mode) 
docstring.







reply via email to

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