Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ShingoFukuyama/a061f74536bc3b640eb3 to your computer and use it in GitHub Desktop.
Save ShingoFukuyama/a061f74536bc3b640eb3 to your computer and use it in GitHub Desktop.
EMACS_VER=24.3
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
curl -O https://gist.githubusercontent.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
cp -r ./nextstep/Emacs.app /Applications/
open -a Emacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment