Function: archive-ar--name
archive-ar--name is a byte-compiled function defined in
arc-mode.el.gz.
Signature
(archive-ar--name NAME)
Documentation
Return the external name represented by the entry NAME.
NAME is expected to be the 16-bytes part of an ar record.
Source Code
;; Defined in /usr/src/emacs/lisp/arc-mode.el.gz
(defun archive-ar--name (name)
"Return the external name represented by the entry NAME.
NAME is expected to be the 16-bytes part of an ar record."
(cond ((equal name "// ")
(propertize ".<ExtNamesTable>." 'face 'italic))
((equal name "/ ")
(propertize ".<LookupTable>." 'face 'italic))
((string-match "/? *\\'" name)
;; FIXME: Decode? Add support for longer names?
(substring name 0 (match-beginning 0)))))