I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.2 KiB

  1. ;; Download and instll packages using https://github.com/raxod502/straight.el
  2. ;; It's a functional package manager that integrates with https://github.com/jwiegley/use-package
  3. ;; + Use the development branch
  4. ;; + Integrate with use-package
  5. ;; Apply the configurations prior to bootstrapping the package manager.
  6. (setq straight-repository-branch "develop"
  7. straight-use-package-by-default t)
  8. ;; Bootstrap the package manager.
  9. ;; Download, Install, or Configuring depending on the state of the configuration.
  10. ;; All packages build from source, pinned to specific git commit hashes.
  11. (defvar bootstrap-version)
  12. (let ((bootstrap-file
  13. (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
  14. (bootstrap-version 5))
  15. (unless (file-exists-p bootstrap-file)
  16. (with-current-buffer
  17. (url-retrieve-synchronously
  18. "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
  19. 'silent 'inhibit-cookies)
  20. (goto-char (point-max))
  21. (eval-print-last-sexp)))
  22. (load bootstrap-file nil 'nomessage))
  23. ;; Integrate with use-package by installing it with straight.
  24. (straight-use-package 'use-package)