From 272271650db3abd911923a12442f5e8ce4c6eb6c Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 26 Jul 2021 19:14:19 -0500 Subject: [PATCH] Forgetting nixified doom for now --- packages.el | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages.el b/packages.el index ed135e0..a574929 100644 --- a/packages.el +++ b/packages.el @@ -11,25 +11,25 @@ ; (package! some-package) ;;(package! elpher) -;;(package! edit-server) -;;(package! ivy-prescient) -;;(package! ace-jump-mode) -;;(package! md4rd) -;;(package! noflet) +(package! edit-server) +(package! ivy-prescient) +(package! ace-jump-mode) +(package! md4rd) +(package! noflet) -;;(defun tls-nocheck-error-advice (orig-fun &rest args) -;; "Advise a function (with :around) not to check TLS errors. -;; -;;ORIG-FUN - Funtion name to be advised -;;ARGS - Arguments to function +(defun tls-nocheck-error-advice (orig-fun &rest args) + "Advise a function (with :around) not to check TLS errors. -;;Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice." -;; (let ((gnutls-verify-error nil)) -;; (apply orig-fun args))) +ORIG-FUN - Funtion name to be advised +ARGS - Arguments to function -;; (use-package! elpher -;; :config -;; (advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice)) +Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice." + (let ((gnutls-verify-error nil)) + (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 ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: