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

auto-loading julia-repl #46

Open
jlapeyre opened this issue Nov 1, 2018 · 2 comments
Open

auto-loading julia-repl #46

jlapeyre opened this issue Nov 1, 2018 · 2 comments

Comments

@jlapeyre
Copy link

jlapeyre commented Nov 1, 2018

For those who are interested in keeping their emacs startup time down, you might want to mention:

If you are using the emacs package manager (say via (require 'package) in your init.el), then putting

(use-package julia-repl
  :commands julia-repl julia-repl-mode
  :config (load-library "julia-mode"))

in your init.el will delay loading julia-repl until it is needed.

@tpapp
Copy link
Owner

tpapp commented Nov 2, 2018

Thanks -- I am actually using use-package, will update the README suggesting this as an option.

@yashi
Copy link
Contributor

yashi commented Feb 24, 2022

This is what I use with package.el

(use-package julia-repl
  :hook (julia-mode . julia-repl-mode))

If you are working on git repo, this works

(use-package julia-repl
  :load-path "~/src/julia-repl"
  :hook (julia-mode . julia-repl-mode))

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

3 participants