Skip to content

Instantly share code, notes, and snippets.

@takaxp
Last active October 7, 2018 01:08
Show Gist options
  • Save takaxp/320938685a71bd2981893f31c1309439 to your computer and use it in GitHub Desktop.
Save takaxp/320938685a71bd2981893f31c1309439 to your computer and use it in GitHub Desktop.
Apply UI improved patch to GNU Emacs
#!/bin/sh
# see https://github.com/emacs-mirror/emacs/pull/6#issue-79644890
cd ~/Desktop
if [ -d emacs ]; then
echo "You already have a Emacs dir in Desktop. Delete it first."
exit;
fi
git clone git://git.sv.gnu.org/emacs.git
curl -LO https://github.com/emacs-mirror/emacs/pull/6.patch
cd emacs
git reset --hard c2ce5476dc
patch -p1 < ../6.patch
chmod 755 configure
chmod 755 src/configure
chmod 755 src/mkinstalldirs
chmod 755 src/auto/configure
./configure --prefix=${HOME}/Desktop/vim
make -j1
./src/vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment