You need to put dired+.el
in your load-path
.
dired+.el
explicitly does this:
(provide 'dired+)
(require 'dired+) ; Ensure loaded before compile this.
This is an Emacs-Lisp idiom that ensures that the library is loaded before compiling it. For Dired+ this is appropriate.
So do this:
(add-to-list 'load-path "/your/path/to/dired+/")
The relevant doc for the idiom used here is (elisp) Named Features
. Here is a bit of it:
Although top-level calls to `require' are evaluated during byte
compilation, `provide' calls are not. Therefore, you can ensure that a
file of definitions is loaded before it is byte-compiled by including a
`provide' followed by a `require' for the same feature, as in the
following example.
(provide 'my-feature) ; Ignored by byte compiler,
; evaluated by `load'.
(require 'my-feature) ; Evaluated by byte compiler.
The compiler ignores the `provide', then processes the `require' by
loading the file in question. Loading the file does execute the
`provide' call, so the subsequent `require' call does nothing when the
file is loaded.