简体   繁体   中英

Emacs Melpa: Package not found

I run the following command (Mx):

Install package: haskell-mode

Then I get the error:

[No match]

My .emacs is:

(require 'package)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-archives
   (quote
    (("gnu" . "http://elpa.gnu.org/packages/")
     ("melpa-stable" . "http://stable.melpa.org/packages/")))))
(package-initialize)

And I ran also Mx package-refresh-contents .

How can I debug this error?

我删除了“ rm -rf”目录“〜/ .emacs.d /”,然后它起作用了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM