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

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: