LoginSignup
28

More than 5 years have passed since last update.

posted at

updated at

brew install caskした場合のcask.elの場所

  • 記事訂正しました。

@mather314 さんからのコメントにあるように、emacs/cask共にhomebrewでインストールした場合、下記の設定でよいようです。
(@mather314さんコメントありがとうございました)

(require 'cask)
(cask-initialize)

  • 以下、元の記事

brew install caskした場合のcask.elファイルは~/.cask/cask.elには無いっぽいので注意

$(brew --prefix)/opt/cask/cask.elつまり/usr/local/opt/cask/cask.elにある

~/.emacs.d/init.elに追加する設定も下記の通りで良いはず

(require 'cask "/usr/local/opt/cask/cask.el")
(cask-initialize)

公式のドキュメントには無かったので書いてみた

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
What you can do with signing up
28