this post was submitted on 22 Nov 2023
1 points (100.0% liked)

Emacs

312 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

To manage packages conveniently, I set new load-path by (add-to-list 'load-path "c:/emacs/.emacs.d/lisp")

After that I checked load-path lists through C-h v load-path, which confirms "c:/emacs/.emacs.d/lisp" had been added into load-path lists successfully. Then I run (use-pakage xxx) inside my custom init.el, but a warning occurred said

Error (use-package): Cannot load xxx

I rechecked load-path lists and move packages to another one directory mentioned in load-path lists, which is loacted in Emacs installtion directory named site-lisp. THEN (use-pakage xxx) returned to normal and didn't rose a warning.

It's so weird, and I just want to set a custom packages load-path. Does anyone know what goes wrong?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here