[Top][All Lists]

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

Re: Scratch buffer annoyance

From: Juri Linkov
Subject: Re: Scratch buffer annoyance
Date: Thu, 09 Aug 2007 22:54:55 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>     On second thought, I think that it can be wrapped into
>     auto-mode-alist.  If someone does C-x b unnamed.c RET, chances are
>     that he won't find it strange to see the buffer in C mode rather than
>     fundamental mode.  And the only buffers that are not file-related tend
>     to start with *.
> You might be right, but the change seems too radical to me.
> I would rather introduce a new buffer-auto-mode-alist
> just to avoid the incompatible change.

Whose definition could be just

(defvar buffer-auto-mode-alist
    '(("\\`\*scratch\*\\'" . lisp-interaction-mode))

Juri Linkov

reply via email to

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