Function: speedbar-item-info-file-helper

speedbar-item-info-file-helper is a byte-compiled function defined in speedbar.el.gz.

Signature

(speedbar-item-info-file-helper &optional FILENAME)

Documentation

Display info about a file that is on the current line.

Return nil if not applicable. If FILENAME, then use that instead of reading it from the speedbar buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/speedbar.el.gz
(defun speedbar-item-info-file-helper (&optional filename)
  "Display info about a file that is on the current line.
Return nil if not applicable.  If FILENAME, then use that
instead of reading it from the speedbar buffer."
  (let* ((item (or filename (speedbar-line-file)))
	 (attr (if item (file-attributes item) nil)))
    (if (and item attr)
	(dframe-message "%s %-6d %s"
			(file-attribute-modes attr)
			(file-attribute-size attr) item))))