如题,我在melpa中搜索,怎么没有这个包呢?
我用的是这两个
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
;; 最新版仓库
;;(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
;; 稳定版仓库
(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . (concat proto "://elpa.gnu.org/packages/")))))
(package-initialize)
把最新版仓库打开,这个包不在melpa-stable
正解!