`require' gets all bindings, not just functions.

Also, explain the ' use.
This commit is contained in:
Eli Barzilay 2013-07-16 03:36:54 -04:00
parent c11ec1f137
commit 8f295f4e68

View File

@ -436,8 +436,8 @@ vec ; => #(1 2 3 4)
(printf fmt (make-string n ch))
(newline)))
;; Use `require' to import all functions from the module
(require 'cake)
;; Use `require' to get all `provide'd names from a module
(require 'cake) ; the ' is for a local submodule
(print-cake 3)
; (show "~a" 1 #\A) ; => error, `show' was not exported