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

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

bug#22349: 24.5; Documentation of variable major-mode does not seem to t


From: Glenn Morris
Subject: bug#22349: 24.5; Documentation of variable major-mode does not seem to tell the exactly true
Date: Mon, 11 Jan 2016 19:44:47 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Rolf Ade wrote:

> The documentation of the variable `major-mode' reads as:
[...]
>     When a mode is used by default, `find-file' switches to it before it
>     reads the contents into the buffer and before it finishes setting up
>     the buffer.  Thus, the mode and its hooks should not expect certain
>     variables such as `buffer-read-only' and `buffer-file-coding-system'
>     to be set up.

This part of the doc was added in Sep 2004 in 557ca2c1b40.
But then changes to files.el in Aug 2005 in e8f30180f4 mean that it is
no longer applicable, since Emacs 22.1. So I'll simply remove it.
Thanks for the report.





reply via email to

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