X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Funtabify.el;fp=doc%2Funtabify.el;h=77dd5c05a5c2f57bbabc6560a46159be051e1607;hb=2a89f7a0a88535513eb0ed81cf7ee866b185ebf4;hp=0000000000000000000000000000000000000000;hpb=71d2a66f4220a64ac896706d56c0de7eae7b8d2e;p=chaz%2Ftar diff --git a/doc/untabify.el b/doc/untabify.el new file mode 100644 index 0000000..77dd5c0 --- /dev/null +++ b/doc/untabify.el @@ -0,0 +1,13 @@ +;;;; Untabify the sources. +;;;; Usage: emacs -batch -l untabify.el [file ...] + +(defun global-untabify (buflist) + (mapcar + (lambda (bufname) + (set-buffer (find-file bufname)) + (untabify (point-min) (point-max)) + (save-buffer) + (kill-buffer (current-buffer))) + buflist)) + +(global-untabify command-line-args-left)