Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"M-x butterfly (see [[%20http://xkcd.com/378/][ http://xkcd.com/378/]])

I'm still waiting for M-x kill-it-with-fire.



How about:

    (defun kill-it-with-fire ()
      (interactive)
      (loop for b in (buffer-list) do (kill-buffer b)))


looks like a good first start, but how do we add the fire?


    (with-current-buffer b 
        (ignore-errors (delete-file (buffer-file-name)))
        (kill-buffer))


oh yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: