From a6221472b3ff2a3992aeb44fb70dad09f5bc6113 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 3 Mar 2017 23:58:10 +0800 Subject: [PATCH] emacs - fix install file bug --- emacs.d/install.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`; -- 2.11.0