On Sun, 24 Oct 2010 15:15:55 +0530, mwnn wrote: > > I fixed the issue by setting the value of backup-directory-alist as > shown below: > > (setq backup-directory-alist '((".~" . "./.emacs.d/"))) I'm not sure I understand this correctly but shouldn't the first entry be a regex file pattern? This would only appear to match files with a single character followed by ~? According to the documentation for that variable, if you want all files going to the specified directory (which in your case will be relative to the original file's location), maybe you want ".*" as the file regex? eric