Skip to main content

Questions tagged [provide]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Transitive `require`s don't work `--with-native-compilation`?

Consider: ;;; a.el (defun a () nil) (provide 'a) ;;; b.el (require 'a) (defun b () nil) (provide 'b) In traditional Emacs this byte compiles fine: ;;; use.el (require 'b) (a) ;This is automatically ...
Greg Hendershott's user avatar
4 votes
1 answer
2k views

Should I use "require" or "load" when writing my own configuration? [duplicate]

I am following this tutorial, and the author is doing something like this: ~/.emacs.d/init.el ;; add your modules path (add-to-list 'load-path "~/.emacs.d/custom/") ;; load your modules (require '...
nalzok's user avatar
  • 675
7 votes
2 answers
2k views

Why is it convention to have `(provide <package>)` at the bottom of the file?

I've been looking through some elisp libraries and most calls to provide happen at the end of the file. In clojure the ns is quite similar to provide. I've noticed that putting provide at the top ...
zcaudate's user avatar
  • 667
0 votes
1 answer
155 views

Does `provide` conflict with `use-package`?

I just install use-package yesterday and still learning it. I notice use-package is not working in my environment: Here is my init file: (require 'package) (dolist (url '(("melpa" . "https://melpa....
ccQpein's user avatar
  • 123