Uses quelpa instead of straight.

I was getting tired of the message. Also just configure it for github remote.
This commit is contained in:
2025-10-17 21:49:43 +02:00
parent 3afb8761d4
commit 11bdeaedb3

46
.emacs
View File

@@ -38,7 +38,7 @@
'(org-agenda-files '("~/org/1.TODO.org"))
'(package-enable-at-startup nil)
'(package-selected-packages
'(code-cells clang-format+ cmake-format xterm-color dockerfile-mode web-mode prettier json-mode py-isort blacken pyvenv yaml-mode lsp-pyright ng2-mode lsp-ltex lsp-treemacs treemacs-nerd-icons treemacs-projectile treemacs lsp-ui lsp-mode which-key flycheck vterm projectile yasnippet-snippets yasnippet aggressive-indent doom-themes company-go zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode markdown-mode srefactor irony cmake-mode company magit use-package))
'(spdx opencl-c-mode polymode string-inflection code-cells clang-format+ cmake-format xterm-color dockerfile-mode web-mode prettier json-mode py-isort blacken pyvenv yaml-mode lsp-pyright ng2-mode lsp-ltex lsp-treemacs treemacs-nerd-icons treemacs-projectile treemacs lsp-ui lsp-mode which-key flycheck vterm projectile yasnippet-snippets yasnippet aggressive-indent doom-themes company-go zenburn-theme langtool smart-tabs-mode typescript-mode protobuf-mode opencl-mode glsl-mode go-mode markdown-mode srefactor irony cmake-mode company magit use-package))
'(safe-local-variable-values
'((vc-follow-symlinks . t)
(TeX-master . t)
@@ -70,23 +70,23 @@
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
(or (bound-and-true-p straight-base-dir)
user-emacs-directory)))
(bootstrap-version 7))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(unless (package-installed-p 'quelpa)
(with-temp-buffer
(url-insert-file-contents "https://raw.githubusercontent.com/quelpa/quelpa/master/quelpa.el")
(eval-buffer)
(quelpa-self-upgrade)))
(setq quelpa-checkout-melpa-p nil)
(setq quelpa-use-package-inhibit-loading-quelpa t)
(quelpa
'(quelpa-use-package
:fetcher github
:repo "quelpa/quelpa-use-package.git"))
(require 'quelpa-use-package)
(require 'use-package-ensure)
(setq use-package-always-ensure t)
@@ -439,15 +439,6 @@
:after yasnippet
)
(use-package yasnippet-licenses
:straight (yasnippet-licenses
:type git
:host github
:repo "atuleu/yasnippet-licenses"
:files (:defaults "*.el" "snippets")
)
:after yasnippet
)
@@ -1063,8 +1054,9 @@
(dockerfile-mode . lsp-deferred)
)
(use-package spdx
:straight (:host github :repo "condy0919/spdx.el")
:quelpa (spdx :fetcher github :repo "condy0919/spdx.el")
:bind (:map prog-mode-map
("C-c i l" . spdx-insert-spdx))
:custom