summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-03-06 04:37:18 +0000
committerRichard M. Stallman <rms@gnu.org>1995-03-06 04:37:18 +0000
commit0bb1a9f96f90c78841f9df87c267ecf85570cecc (patch)
treeaa14667d12ba2c40bce50de9ed307cd456ae0f3d /lisp/tar-mode.el
parent9e8fbff0c2b35a1dfc1ae517403cbfd08e639150 (diff)
downloademacs-0bb1a9f96f90c78841f9df87c267ecf85570cecc.tar.gz
(tar-grind-file-mode): Doc fix.
Diffstat (limited to 'lisp/tar-mode.el')
-rw-r--r--lisp/tar-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 1be7041562d..7375e5411e3 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -335,7 +335,8 @@ write-date, checksum, link-type, and link-name."
(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))