Skip to content

Instantly share code, notes, and snippets.

Created January 22, 2014 04:06
Show Gist options
  • Save anonymous/8553323 to your computer and use it in GitHub Desktop.
Save anonymous/8553323 to your computer and use it in GitHub Desktop.
emacs 24.3でdistnotedを暴走させないパッチ+inlineパッチのビルド手順です。sakito.jpの手順を修正したものです。
EMACS_VER=24.3
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
curl -O https://gist.github.com/anonymous/8553178/raw/c0ddb67b6e92da35a815d3465c633e036df1a105/emacs.memory.leak.aka.distnoted.patch.diff
svn co http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk inline_patch
tar xvfz emacs-${EMACS_VER}.tar.gz
cd emacs-${EMACS_VER}
patch -p1 < ../emacs.memory.leak.aka.distnoted.patch.diff
patch -p0 < ../inline_patch/emacs-inline.patch
./configure --with-ns --without-x
make bootstrap
make install
open nextstep/Emacs.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment