Paste number 4365: hackish workaround for idledo

Paste number 4365: hackish workaround for idledo
Pasted by: mwolson
When:4 years, 6 months ago
Share:Tweet this! | http://paste.lisp.org/+3D9
Channel:#emacs
Paste contents:
Raw Source | XML | Display As
(defun my-train-erbot-now ()
  "Make use of all those idledo's right now!"
  (interactive)
  (condition-case err
      (while (eq (caar idledo-list) 'erbtrain)
        (idledo-once 1)
        (sit-for 1)
        (sleep-for (+ 5 (random 5)))
        (sit-for 1))
    (error err))
  (message "Done training!"))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.