summaryrefslogtreecommitdiff
path: root/doc/untabify.el
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-03-27 10:11:05 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-03-27 10:11:05 +0000
commit2a89f7a0a88535513eb0ed81cf7ee866b185ebf4 (patch)
treecc0490dc3a80e70819bfc31f1c496952d3b8c47b /doc/untabify.el
parent71d2a66f4220a64ac896706d56c0de7eae7b8d2e (diff)
downloadtar-2a89f7a0a88535513eb0ed81cf7ee866b185ebf4.tar.gz
* NEWS: Document --no-check-device and --check-device.
* doc/rendition.texi: Change the way FIXME-*refs are handled in !PROOF. * doc/intern.texi, doc/tar.texi: Update. * doc/untabify.el: New file. * doc/Makefile.am (EXTRA_DIST): Add untabify.el (untabify, final, check-format, check-refs, check-fixmes) (check-unrevised, all-check-docs, check-docs): New rules.
Diffstat (limited to 'doc/untabify.el')
-rw-r--r--doc/untabify.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/untabify.el b/doc/untabify.el
new file mode 100644
index 00000000..77dd5c05
--- /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)