aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.gitignore
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-25 22:07:47 +0200
committerGravatar Tom Willemse2016-07-25 22:07:47 +0200
commit85a3512b052b8463cc4d86b04c9c7d280f0bd792 (patch)
tree9503f4183e1931d6f7d7d234465517142555276a /emacs/.gitignore
parent289d0f4d9da2b5f5f2b85f55e24074d19319fd6b (diff)
downloadnew-dotfiles-85a3512b052b8463cc4d86b04c9c7d280f0bd792.tar.gz
new-dotfiles-85a3512b052b8463cc4d86b04c9c7d280f0bd792.zip
Improve ensure-package macro
- Rename to “ensure-library”, since I’m really trying to make sure a certain library is installed and calling something like the following is just silly: (ensure-package geiser-impl :package geiser) - Rename the “:from” keyword parameter to “:package” since it is ambiguous when a “:path” keyword parameter is added, which could also be considered to determine from where a library is loaded. - Add the “:path” keyword parameter, some libraries aren’t managed by package.el but by me. This parameter adds its value to the load path before attempting to check if it has been installed. - Instead of checking if the package is installed and can be located, just try requiring it. This is easier for libraries not managed by package.el, since they will technically not be installed.
Diffstat (limited to 'emacs/.gitignore')
0 files changed, 0 insertions, 0 deletions