I'm new to emacs, and I'm having problems when trying to set up my
init.el file to connect to the melpa packages site. I'm using MacOS Big Sur version 11.6, and Emacs version 26.2 (9.0) since there were some problems installing the latest version.
init.el file I have put:
(require ‘package) (setq package-enable-at-startup nil) (add-to-list ‘package-archives ‘(“melpa” . “https://melpa.org/packages/“)) (package-initialize)
I get the following error message when M-x package-refresh-contents
Making completion list… Contacting host: elpa.gnu.org:443 Package refresh done Failed to download ‘gnu’ archive.
I have tried
‘(“melpa” . “https://melpa.org/packages/“)t)
Which does not work.
Does anyone know what I'm doing wrong?