# HG changeset patch # User Richard M. Stallman # Date 794464638 0 # Node ID 0c3d448059491446d4d5686b4d5922bca6283c37 # Parent bf33c9179a6b899e303379196a919728fe79041d (tar-grind-file-mode): Doc fix. diff -r bf33c9179a6b -r 0c3d44805949 lisp/tar-mode.el --- a/lisp/tar-mode.el Mon Mar 06 04:35:33 1995 +0000 +++ b/lisp/tar-mode.el Mon Mar 06 04:37:18 1995 +0000 @@ -335,7 +335,8 @@ (concat (substring str 4 16) (substring str 19 24)))) (defun tar-grind-file-mode (mode string start) - "Write a \"-rw--r--r-\" representing MODE into STRING beginning at START." + "Store `-rw--r--r--' indicating MODE into STRING beginning at START. +MODE should be an integer which is a file mode value." (aset string start (if (zerop (logand 256 mode)) ?- ?r)) (aset string (+ start 1) (if (zerop (logand 128 mode)) ?- ?w)) (aset string (+ start 2) (if (zerop (logand 64 mode)) ?- ?x))