doomemacs / doomemacs/core

Autoload cookies for modifying auto-mode-alist in modules' autoload files don't work

Open
#5,403 0 comments 0 reactions 0 assignees View on GitHub
core is:bug status:confirmed
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

`auto-mode-alist` should be modified.

### What actually happened?

`auto-mode-alist` is unaffected.

Those lines are no-ops:
https://github.com/hlissner/doom-emacs/blob/782de48e0b1f9f4fa152a7033e225f7b2c1383f7/modules/lang/cc/autoload.el#L4
https://github.com/hlissner/doom-emacs/blob/782de48e0b1f9f4fa152a7033e225f7b2c1383f7/modules/lang/qt/autoload.el#L4

### Describe your attempts to resolve the issue

_No response_

### Steps to reproduce

1. Enable `:lang cc` or `qt`
2. Open a file who ends with `.cl`, `.qti`, `.qto`

### System Information

https://pastebin.com/yszb6HFT

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.