[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11434: 24.0.96; Determining major mode for a given file extension
From: |
Stefan Kangas |
Subject: |
bug#11434: 24.0.96; Determining major mode for a given file extension |
Date: |
Thu, 31 Oct 2019 08:31:57 +0100 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> I'd use (let ((buffer-file-name "foo.js")) (set-auto-mode)) instead.
>> So it's just my Lisp that's bad, not my approach? :)
>
> I think so, yes. You can also use create-file-buffer with some dummy
> file name and then call after-find-file (that's what I did in PCL-CVS).
It seems to me like there is no bug here. Am I missing something?
If I don't hear back within a couple of weeks, I'll go ahead and close
this bug report.
Best regards,
Stefan Kangas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#11434: 24.0.96; Determining major mode for a given file extension,
Stefan Kangas <=