home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charest
- From: charest@Aig.Jpl.Nasa.Gov (Len Charest)
- Subject: Re: changing the pathname type
- Message-ID: <1992Sep14.184004.22545@jpl-devvax.jpl.nasa.gov>
- Followup-To: comp.lang.lisp
- Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post)
- Nntp-Posting-Host: ai-cyclops
- Reply-To: charest@aig.jpl.nasa.gov
- Organization: NASA/Jet Propulsion Laboratory
- References: <HALTRAET.92Sep14091247@monsun.si.no>
- Date: Mon, 14 Sep 1992 18:40:04 GMT
- Lines: 15
-
- In article <HALTRAET.92Sep14091247@monsun.si.no>, haltraet@monsun.si.no (Hallvard Tr{tteberg) writes:
- |> I would like to change the filetype of a pathname (e.g. to nil
- |> (unspecified) or .lisp)....
- |> I cannot use (merge-pathnames <filename> ".lisp") since this
- |> will only "change" the pathname-type if it is nil (unspecified)
-
- (make-pathname :defaults <filename>
- :type ".lisp")
-
- (make-pathname :defaults <filename>
- :type nil)
- ..................................................
- Len Charest, Jr.
- JPL Artificial Intelligence Group
- charest@aig.jpl.nasa.gov
-