emacs 23 package

emacs 23 

(require 'package) 报not found package

Download package.el, download address:

http://repo.or.cz/w/emacs.git/blob_plain/ba08b24186711eaeb3748f3d1f23e2c2d9ed0d09:/lisp/emacs-lisp/package.el

Put package.el under .emacs.d and add it at the top of init.el

(when
       (load
             (expand-file-name "~/.emacs.d/package.el")))

If ~/.emacs exists, ~/.emacs.d/init.el will not run. The solution is to put ~/.emacs under ~/.emacs.d/, and use the reference in init.el. The reference method is the same as the package .el

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325558636&siteId=291194637