Forgetting nixified doom for now
This commit is contained in:
parent
54f5012c37
commit
272271650d
32
packages.el
32
packages.el
|
@ -11,25 +11,25 @@
|
||||||
; (package! some-package)
|
; (package! some-package)
|
||||||
|
|
||||||
;;(package! elpher)
|
;;(package! elpher)
|
||||||
;;(package! edit-server)
|
(package! edit-server)
|
||||||
;;(package! ivy-prescient)
|
(package! ivy-prescient)
|
||||||
;;(package! ace-jump-mode)
|
(package! ace-jump-mode)
|
||||||
;;(package! md4rd)
|
(package! md4rd)
|
||||||
;;(package! noflet)
|
(package! noflet)
|
||||||
|
|
||||||
;;(defun tls-nocheck-error-advice (orig-fun &rest args)
|
(defun tls-nocheck-error-advice (orig-fun &rest args)
|
||||||
;; "Advise a function (with :around) not to check TLS errors.
|
"Advise a function (with :around) not to check TLS errors.
|
||||||
;;
|
|
||||||
;;ORIG-FUN - Funtion name to be advised
|
|
||||||
;;ARGS - Arguments to function
|
|
||||||
|
|
||||||
;;Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice."
|
ORIG-FUN - Funtion name to be advised
|
||||||
;; (let ((gnutls-verify-error nil))
|
ARGS - Arguments to function
|
||||||
;; (apply orig-fun args)))
|
|
||||||
|
|
||||||
;; (use-package! elpher
|
Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice."
|
||||||
;; :config
|
(let ((gnutls-verify-error nil))
|
||||||
;; (advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice))
|
(apply orig-fun args)))
|
||||||
|
|
||||||
|
(use-package! elpher
|
||||||
|
:config
|
||||||
|
(advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice))
|
||||||
|
|
||||||
;; To install a package directly from a remote git repo, you must specify a
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||||
|
|
Loading…
Reference in New Issue