bug#2058: 23.0.60; bewildering behavior when visit new file throw.pdf

Tassilo Horn <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Kevin Rodgers <[email protected]> writes:

Hi Kevin,

>>   - If the file doesn't exist or is empty, then we fallback to ps-mode
>>     or fundamental-mode, depending on the file name extension
>
> Why not do something like
>
> (let ((auto-mode-alist (remq (rassq 'doc-view-mode auto-mode-alist)
> 			     auto-mode-alist)))
>   (normal-mode))

Yes, that's better.  I'll change that.

Bye,
Tassilo
-- 
Windows: So easy to admin, even a worm can do it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.