My personal .emacs.d folder

packages.el 1.1KB

1234567891011121314151617181920212223242526
  1. ;;;; Copyright © 2013-2017 Lily Carpenter
  2. ;;;; All rights reserved.
  3. ;;;; Web: https://azrazalea.net
  4. ;;;; Email: azra-license@azrazalea.net
  5. ;;;; This config is free software: you can redistribute it and/or modify
  6. ;;;; it under the terms of the GNU Lesser General Public License as published by
  7. ;;;; the Free Software Foundation, either version 3 of the License, or
  8. ;;;; (at your option) any later version.
  9. ;;;; This config is distributed in the hope that it will be useful,
  10. ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;;;; GNU Lesser General Public License for more details.
  13. ;;;; You should have received a copy of the GNU Lesser General Public License
  14. ;;;; along with this config. If not, see <http://www.gnu.org/licenses/>.
  15. ;; Load all files in packages directory
  16. ;; Most package configuration should be in this directory
  17. (package-initialize)
  18. (package-install? 'use-package)
  19. (mapc (lambda (package-file) (load package-file))
  20. (directory-files "~/.emacs.d/packages/" t "^[^\.].*\.el$"))
  21. (global-company-mode)