On Thu Aug 4 2005 Tak Ota wrote:
> What is the rational behind this default-major-mode design that runs
> hooks on a premature buffer?
> 
> Isn't it a design flaw to run a hook twice (before and after buffer
> setup) in this case?  Or do all hooks responsible to determine which
> stage (pre or post setup) it is running at?

It seems to me that the following is much closer to what I want than
using default-major-mode

(setq auto-mode-alist (append auto-mode-alist (list (cons "." 'text-mode))))

Of course, this works only if the new cons cell is indeed the last
one.

Roland


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to