\lim_{x\to 0}{e^{\cos x-1}}=e^{\lim_{x\to 0}{\cos x-1}}=e^{1-1}=e^0=1