mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Add warning about missing TLS support
This commit is contained in:
parent
630ad6f9bb
commit
e3278c959b
|
@ -102,6 +102,9 @@ your `user-init-file`).
|
||||||
(eval-print-last-sexp)))
|
(eval-print-last-sexp)))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
NOTE: if you are using Windows see
|
||||||
|
[Installation on Windows](https://github.com/dimitri/el-get/wiki/Installation-on-Windows).
|
||||||
|
|
||||||
Evaluating this code after copying it into your `*scratch*` buffer by typing
|
Evaluating this code after copying it into your `*scratch*` buffer by typing
|
||||||
`C-j` or `M-x eval-print-last-exp` will retrieve the El-Get installation
|
`C-j` or `M-x eval-print-last-exp` will retrieve the El-Get installation
|
||||||
script. This script will then use `git` to clone El-Get and install it to
|
script. This script will then use `git` to clone El-Get and install it to
|
||||||
|
|
|
@ -21,6 +21,14 @@
|
||||||
(or (bound-and-true-p el-get-dir)
|
(or (bound-and-true-p el-get-dir)
|
||||||
(concat (file-name-as-directory user-emacs-directory) "el-get")))))
|
(concat (file-name-as-directory user-emacs-directory) "el-get")))))
|
||||||
|
|
||||||
|
(unless (gnutls-available-p)
|
||||||
|
(display-warning
|
||||||
|
'el-get
|
||||||
|
(concat "Your Emacs doesn't support HTTPS (TLS)"
|
||||||
|
(if (eq system-type 'windows-nt)
|
||||||
|
",\n see https://github.com/dimitri/el-get/wiki/Installation-on-Windows."
|
||||||
|
"."))))
|
||||||
|
|
||||||
(when (file-directory-p el-get-root)
|
(when (file-directory-p el-get-root)
|
||||||
(add-to-list 'load-path el-get-root))
|
(add-to-list 'load-path el-get-root))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user