Adding a language to Repl.it: Emacs Lisp (介绍了 Emacs Lisp 是如何支持的)
大家试试分享 Emacs Lisp 代码,可以直接在 Repl.it 上运行,非常炫酷。
Adding a language to Repl.it: Emacs Lisp (介绍了 Emacs Lisp 是如何支持的)
大家试试分享 Emacs Lisp 代码,可以直接在 Repl.it 上运行,非常炫酷。
如何引入在第三方 package ?
不知道这样行不行:
(let ((foo-file "/tmp/foo.el"))
(unless (file-exists-p foo-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/<user>/foo/<commit>/foo.el")
(goto-char (point-min))
(search-forward-regexp "\n\n")
(write-region (point) (point-max) foo-file)))
(load foo-file)
(require 'foo))
这是官方提供的现成的例子