tramp-devel
[Top][All Lists]
Advanced

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

tramp-tramp-file-p


From: Mark A. Hershberger
Subject: tramp-tramp-file-p
Date: Fri, 03 Jan 2003 13:29:01 -0600
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

This is not against the latest from CVS, so forgive me if this is already
fixed.


(defun tramp-tramp-file-p (name)
  "Return t iff NAME is a tramp file."
  (save-match-data
    (not (null (string-match tramp-file-name-regexp name)))))

Without the surrounding "(not (null))", it returns 0 which is interpreted as
false.

Mark.

-- 
You are a mystery as deep as the sea; the more I search, the more
I find, and the more I find the more I search for you.
            -- St. Catherine of Siena




reply via email to

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