Repl.it 支持 Emacs Lisp 了

Adding a language to Repl.it: Emacs Lisp (介绍了 Emacs Lisp 是如何支持的)

大家试试分享 Emacs Lisp 代码,可以直接在 Repl.it 上运行,非常炫酷。

2 个赞

2 个赞

如何引入在第三方 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))

这是官方提供的现成的例子

2 个赞