[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install emacs-w3m via melpa?

From: Amin Bandali
Subject: Re: How to install emacs-w3m via melpa?
Date: Mon, 17 Feb 2020 21:27:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<> writes:

> Amin Bandali wrote:
>> Lastly, I recommend using https rather than
>> http if your Emacs was built with
>> GnuTLS support.
> OK, then it should be
> (setq package-archives
>       '(( "gnu elpa" . "";)
>         ( "melpa"    . ""; )))

Except that it still hardcodes (insecure) http for the GNU ELPA archive.
To check if GnuTLS is available, you can check if (gnutls-available-p)
returns non-nil, and if so then use https for the package archives.  On
emacs >= 26.1, `package-archives' does this for the GNU ELPA entry that
it comes with out of the box.

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]