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.

35 lines
1.3 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 "master"
  7. straight-use-package-by-default t
  8. package-enable-at-startup nil)
  9. ;; Bootstrap the package manager.
  10. ;; Download, Install, or Configuring depending on the state of the configuration.
  11. ;; All packages build from source, pinned to specific git commit hashes.
  12. (defvar bootstrap-version)
  13. (let ((bootstrap-file
  14. (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
  15. (bootstrap-version 5))
  16. (unless (file-exists-p bootstrap-file)
  17. (with-current-buffer
  18. (url-retrieve-synchronously
  19. "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
  20. 'silent 'inhibit-cookies)
  21. (goto-char (point-max))
  22. (eval-print-last-sexp)))
  23. (load bootstrap-file nil 'nomessage))
  24. ;; Integrate with use-package by installing it with straight. Override some package sources to
  25. ;; avoid the default package shipped with Emacs.
  26. (straight-use-package 'use-package)
  27. (straight-use-package 'no-littering)
  28. (straight-use-package '(org :local-repo nil))