Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the major-mode-remap-alist variable #861

Closed
xiangsheng opened this issue Feb 14, 2024 · 1 comment
Closed

About the major-mode-remap-alist variable #861

xiangsheng opened this issue Feb 14, 2024 · 1 comment

Comments

@xiangsheng
Copy link

In the init-treesitter.el, the major-mode-remap-alist variable is set to nil at the beginning. However, this operation will overwrite the possible original value of this variable.

I notice this problem because of the recent update of AUCTeX. This package now uses this variable at the init process of emacs to take over the control of several built-in mode, like latex mode. However, with the current setting of init-treesitter.el, the value set by AUCTeX is overwritten completely. Is there a better way to deal with this variable?

@purcell
Copy link
Owner

purcell commented Feb 14, 2024

Yep, fixed now. There was no need to set those vars to nil — it was just there from when I was originally writing that code and re-running it often.

cdadar pushed a commit to cdadar/emacs.d that referenced this issue Feb 24, 2024
0xMF pushed a commit to 0xMF/emacs.d that referenced this issue Mar 9, 2024
0xMF pushed a commit to 0xMF/emacs.d that referenced this issue Mar 19, 2024
0xMF pushed a commit to 0xMF/emacs.d that referenced this issue Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants