Move function to --mk
This commit is contained in:
parent
0b624379cb
commit
301a2b3ec4
2 changed files with 6 additions and 6 deletions
|
@ -187,3 +187,9 @@
|
|||
"~/cl-sites/sqlite-doc-3440000/index.html")
|
||||
(mk/open-html-page mk/clsite-asdf
|
||||
"~/cl-sites/asdf.common-lisp.dev/index.html")
|
||||
|
||||
(defun mk/wget-mirror-site (url)
|
||||
"Use wget to mirror a website for offline use. Takes a URL as argument."
|
||||
(interactive "sEnter the URL to mirror: ")
|
||||
(let ((cmd (format "wget --mirror --convert-links --adjust-extension --page-requisites --no-parent %s" url)))
|
||||
(async-shell-command cmd)))
|
||||
|
|
6
init.el
6
init.el
|
@ -23,9 +23,3 @@
|
|||
(let ((f "~/feeds.el"))
|
||||
(when (file-exists-p f)
|
||||
(load-file f)))
|
||||
|
||||
(defun mk/wget-mirror-site (url)
|
||||
"Use wget to mirror a website for offline use. Takes a URL as argument."
|
||||
(interactive "sEnter the URL to mirror: ")
|
||||
(let ((cmd (format "wget --mirror --convert-links --adjust-extension --page-requisites --no-parent %s" url)))
|
||||
(async-shell-command cmd)))
|
||||
|
|
Loading…
Add table
Reference in a new issue