bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Fri, 01 Nov 2019 19:12:53 +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





reply via email to

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