Fix typos

This commit is contained in:
Aku Kotkavuo 2016-09-24 16:59:43 +03:00 committed by Eivind Fonn
parent ee9d82d7cc
commit f478686c69
1 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ before copying the file if the destination already exists."
(interactive)
(let* ((copy? (if (file-exists-p dotspacemacs-filepath)
(y-or-n-p
(format "%s already exists. Do you want to overwite it ? "
(format "%s already exists. Do you want to overwrite it ? "
dotspacemacs-filepath)) t)))
(when copy?
(copy-file (concat dotspacemacs-template-directory
@ -529,7 +529,7 @@ If ARG is non nil then Ask questions to the user before installing the dotfile."
(let ((install
(if (file-exists-p dotspacemacs-filepath)
(y-or-n-p
(format "%s already exists. Do you want to overwite it ? "
(format "%s already exists. Do you want to overwrite it ? "
dotspacemacs-filepath)) t)))
(when install
(write-file dotspacemacs-filepath)