while going through the emacs as a c/c++ editor , I came across the following lines of code to include in my ~/.emacs file, to connect to melpa archives for package installation (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (package-initialize) after saving these lines into emacs , when i started emacs it is showing me an wrong type argument:
![package-initialize: wrong type argument : arrayp , nil](https://cdn-ak-scissors.b.st-hatena.com/image/square/fb609ece34755c2b084df4dde47c71a8fcf41141/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Femacs%2FImg%2Fapple-touch-icon%402.png%3Fv%3Ddbead6deb8b0)