package-initialize:错误的类型参数:arrayp,nil
在通过emacs作为ac / c ++编辑器进行操作时,我遇到了以下几行代码,它们包含在我的~/.emacs文件中,以进行连接以 melpa archives进行软件包安装 (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (package-initialize) 将这些行保存到emacs中之后,当我启动emacs时wrong type argument: arrayp, nil,在minibuffer区域中显示了一个 当我尝试时$ emacs --debug -init,我得到了: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) package--add-to-archive-contents(nil "melpa") package-read-archive-contents("melpa") package-read-all-archive-contents() package-initialize() eval-buffer(#<buffer *load*> nil "/home/anupam/.emacs" nil t) ; Reading at buffer position 905 load-with-code-conversion("/home/anupam/.emacs" "/home/anupam/.emacs" t t) …