Rémi Vanicat <[email protected]> writes:

>> But how do I get the auto-mode-alist tweaked to made this the default
>> mode for .vala files?
>
> Thinking about it, it would be normal that the automatic autoload
> generation does it. And indeed, there are ";;;autoload" stanzas for it
> in vala-mode.el, at least in vala-mode as downloaded from melpa. There
> are not in the debian package, but you just need to add
> ;;;###autoload
> alone on its line in vala-mode.el before each line you want in the
> autoload file.

Thanks for thinking that through Rémi. I checked another couple files,
and indeed there are ;;;###autoload cookies for the auto-mode-alist
changes.

So I guess patches with ;;;###autoload cookies if necessary. It does
seem like something could be upstreamed in most cases.

d

Reply via email to