X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Finstall.pl;h=ab37e54c49ec9c9a49cde5279e616779dbfb86ba;hb=0b557f806529e3a8d870d0d3363fb881ccb99539;hp=ed92356bbfb93838fcac77041aaf55d3544cd90a;hpb=5b53e9b83ecdc176a0c6ee5d07e3fae4d0513e32;p=dotfiles.git diff --git a/emacs.d/install.pl b/emacs.d/install.pl index ed92356..ab37e54 100755 --- a/emacs.d/install.pl +++ b/emacs.d/install.pl @@ -10,8 +10,8 @@ use Cwd "abs_path"; my $home = $ENV{'HOME'}; my $emacsDir = dirname abs_path (__FILE__); -die "~/.emacs.d or ~/init.el exist. Backup them first.\n" - if -e "$home/.init.el" or -e "$home/.emacs.d"; +die "~/.emacs.d or ~/.init.el or ~/.emacs exist. Backup them first.\n" + if -e "$home/.init.el" or -e "$home/.emacs.d" or -e "$home/.emacs"; print `ln -s $emacsDir $home/.emacs.d`;