tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What does this code do?


From: Kai Großjohann
Subject: What does this code do?
Date: Mon, 03 Feb 2003 21:20:26 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

There's this piece of code in tramp.el; does anyone know what it does?

(defun tramp-parse-passwd (filename)
  "Return a list of (user host) tuples allowed to access.
Host is always \"localhost\"."

  (let (res)
    (if (and (symbolp 'user) (zerop (length user)))
        '(("root" nil))

Why does it refer to the symbol user?
-- 
A turnip curses Elvis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]