Skip to content

Instantly share code, notes, and snippets.

@erickgnavar
Created December 5, 2020 01:55
Show Gist options
  • Save erickgnavar/01f866585d0213a1cf8ce8c32b311e81 to your computer and use it in GitHub Desktop.
Save erickgnavar/01f866585d0213a1cf8ce8c32b311e81 to your computer and use it in GitHub Desktop.
(defun replace-at-point ()
(delete-char 1)
(insert "🔥"))
(defun replace-line ()
(while (< (point) (line-end-position))
(sit-for 0.1)
(replace-at-point)))
(defun burn-code ()
(interactive)
(while (< (line-number-at-pos) (line-number-at-pos (point-max)))
(progn
(beginning-of-line)
(replace-line)
(next-line))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment