aboutsummaryrefslogtreecommitdiff
path: root/doc/untabify.el
blob: 77dd5c05a5c2f57bbabc6560a46159be051e1607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)

Return to:

Send suggestions and report system problems to the System administrator.