1
0

More than 5 years have passed since last update.

.emacsでダウンロードが必要なコードの管理

Posted at

auto-install(install-elisp)をEmacsにインストールしているなら、.emacsで使用しているダウンロードが必要なrequireに対しては、インストールするためのS式をコメントとして記述しておくのがオススメ。

S式のあるコメント行で C-e C-x C-e (すなわち、S式の閉括弧の後ろで C-x C-e) を入力するだけで、新しい環境に移行した時に足りなかったelispファイルをインストールしたり、古くなったelispファイルを更新したりできる。

;; (install-elisp "https://raw.github.com/hoge/hoge.el")
(require 'hoge)

;; (install-elisp-from-emacswiki "huga.el")
(require 'huga)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0