dimitri / el-get

Manage the external elisp bits and pieces upon which you depend!
http://tapoueh.org/emacs/el-get.html
1.64k stars 457 forks source link

Installation issue on Windows - unable to find 'git' #2743

Closed YiCao5 closed 4 years ago

YiCao5 commented 4 years ago

Start Emacs from gitbash (MINGW64)

Snippet below is loaded automatically:

; add el-get to the load path, and install it if it doesn't exist
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(unless (require 'el-get nil 'noerror)
  (with-current-buffer
      (url-retrieve-synchronously
       "https://raw.github.com/dimitri/el-get/master/el-get-install.el")
    (goto-char (point-max))
    (eval-print-last-sexp)))

Error:

Warning (initialization): An error occurred while loading 'c:/Users/user/.emacs':
error: Unable to find 'git'
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the '--debug-init' option to view a complete error backtrace.

Environments and settings:

YiCao5 commented 4 years ago

issue fixed thanks to [(https://github.com/dimitri/el-get/issues/220)]