Allow update-init-file to overwrite old init file
This commit is contained in:
parent
9cc23ba424
commit
00ff8e6db1
2
init.el
2
init.el
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user