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

disable julia support #501

Closed
gdkrmr opened this issue Mar 10, 2018 · 4 comments
Closed

disable julia support #501

gdkrmr opened this issue Mar 10, 2018 · 4 comments

Comments

@gdkrmr
Copy link

gdkrmr commented Mar 10, 2018

There is emacs support for the julia language outside of ESS, is there a way to disable julia support in ESS so that I can still use it for R but not julia?

@vspinu
Copy link
Member

vspinu commented Mar 10, 2018

It's not clear what you mean by "disabling". Any file put ins julia-mode.el will use julia mode, any file put in ess-julia-mode.el will use ESS layer on top of julia-mode.el.

(add-to-list 'auto-mode-alist '("\\.jl\\'" . julia-mode))

@gdkrmr
Copy link
Author

gdkrmr commented Mar 10, 2018

ok, so I simply have to remove ("\\.jl\\'" . ess-julia-mode) from auto-mode-alist?

@vspinu
Copy link
Member

vspinu commented Mar 10, 2018

No need to remove. just put the above line into the emacs. First one takes precedence.

@gdkrmr
Copy link
Author

gdkrmr commented Mar 10, 2018

ok great, thanks!

@gdkrmr gdkrmr closed this as completed Mar 10, 2018
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