all repos — dotfiles @ 3670531f404f2f17327676c46f9487ca60e50547

Superseded by nixfiles

hooks/pre-up/emacs (view raw)

1
2
3
4
5
6
7
8
#!/usr/bin/env zsh

# Remove broken elisp symlink from old versions
elisp="$HOME/.emacs.d/elisp"
if [[ -L "$elisp" && ! -e "$elisp" ]]
then
	rm $elisp
fi