Ice Energy, Parathystas, Shirley Horn with Horns & Ōzora, Hokkaido.
This commit is contained in:
parent
ba73259e35
commit
a45902fa29
1 changed files with 10 additions and 11 deletions
|
@ -44,24 +44,23 @@
|
|||
;;; Code:
|
||||
|
||||
(defgroup litanize nil
|
||||
"Generating 'Latour Litanies' as an exercise in ontography, metaphorism, and carpentry"
|
||||
"Generating 'Latour Litanies' as an exercise in ontography, metaphorism, and carpentry."
|
||||
:group 'stochastism)
|
||||
|
||||
(require 's)
|
||||
(require 'enlive)
|
||||
|
||||
(defun litanize-wp-title ()
|
||||
"Return a random wikipedia title."
|
||||
"Return a random Wikipedia title."
|
||||
(s-chop-suffix
|
||||
" - Wikipedia"
|
||||
(nth 2 (enlive-query
|
||||
(enlive-fetch "https://en.wikipedia.org/wiki/Special:Random")
|
||||
[title]))))
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun litanize-litany (length)
|
||||
"Create an arbitary (or random) LENGTH litany in its own buffer."
|
||||
"Create an arbitrary (or random) LENGTH litany in its own buffer."
|
||||
(interactive "nHow long a litany? ")
|
||||
(with-current-buffer (get-buffer-create "*Latour litany*")
|
||||
(erase-buffer)
|
||||
|
|
Loading…
Reference in a new issue