Pattern like
[ -d $$file ] && [ -d $(HOME)/$$file ] || mkdir -p $(HOME)/$$file;
as if $$file is regular file mkdir will executed. Fix all them.
! To update db after edit run:
! $ xrdb -merge ~/.Xdefaults
emacs.font: 7x13
emacs21.font: 7x13
emacs22.font: 7x13
emacs23.font: 7x13
emacs22-gtk.font: 7x13
emacs23-gtk.font: 7x13
! Same as 7x13
! emacs.font: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso8859-*
! emacs.font: -misc-fixed-medium-r-*-*-14-*-*-*-*-*-iso8859-*
! emacs.geometry: 20x20+0+0
! emacs.FontBackend: xft
xpdf*initialZoom: width
! xterm*font: 10x20
! XTerm*loginShell: true
! Xft.hinting: none
! Xft.dpi: 96