Skip to content

Instantly share code, notes, and snippets.

@chrisbarrett
Last active February 9, 2020 06:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbarrett/6097925 to your computer and use it in GitHub Desktop.
Save chrisbarrett/6097925 to your computer and use it in GitHub Desktop.
Paste into the scratch buffer and `M-x eval-buffer` to begin the journey.
(url-copy-file "http://ulrichdesign.ca/wp-content/uploads/2011/11/YOU-LACK-discipline.jpg"
"~/discipline.jpg")
(defun you-lack-discipline ()
(interactive)
(insert-image (create-image "~/discipline.jpg")))
(dolist (k '([up] [left] [down] [right]))
(global-set-key k 'you-lack-discipline))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment