You can put the .el file in the personal/ directory in Prelude. Prelude loads any .el file that finds it in alphabetical order. The following is the contents of my personal/00-packages.el . File:
(require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (package-initialize) ;; My packages (setq prelude-packages (append '( drupal-mode nginx-mode ) prelude-packages)) ;; Install my packages (prelude-install-packages)
A "00" is appended to the file name to ensure that the file is uploaded to all personal settings. Add the new package that you need to add to the prelude-packages list.
In addition, if you want to use any mode not available in MELPA or Marmalade, you can simply leave the mode file in a personal folder, and Prelude will pick it up at boot time. If there are any settings in this mode, just create another .el file and add the Emacs Lisp code there.
kaustavdm
source share