1

Allow update-init-file to overwrite old init file

This commit is contained in:
Jessie Hildebrandt 2019-04-16 13:04:02 +00:00
parent 9cc23ba424
commit 00ff8e6db1

View File

@ -265,7 +265,7 @@
(interactive) (interactive)
(when (yes-or-no-p "Download latest init file from jessieh.net? ") (when (yes-or-no-p "Download latest init file from jessieh.net? ")
(message "Updating init file...") (message "Updating init file...")
(url-copy-file "https://jessieh.net/emacs" (concat user-emacs-directory "init.el")))) (url-copy-file "https://jessieh.net/emacs" (concat user-emacs-directory "init.el") t)))
(defun byte-compile-init-file () (defun byte-compile-init-file ()
"Byte compile the init file." "Byte compile the init file."