bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
Stefan Monnier <[email protected]> Tue, 08 Dec 2009 08:53:55 -0500
| Newsgroups | gmane.emacs.bugs,gmane.emacs.pretest.bugs |
|---|---|
| Message-ID | <[email protected]> |
> It seems that the global minor mode defined by
> define-global-minor-mode doesn't work in a newly created
> buffer of fundamental mode.
> Isn't this a bug?
I think it's not, tho it's obviously a misfeature. I think the best
answer is to say that a buffer that is intended to be displayed to the
user should call a major-mode function. If there's no specific
major-mode for it, it should call fundamental-mode.
Stefan