home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / emacs / help / 4840 < prev    next >
Encoding:
Text File  |  1992-11-18  |  867 b   |  18 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!news.claremont.edu!jarthur.claremont.edu!jason
  3. From: jason@jarthur.claremont.edu (Jason Merrill)
  4. Subject: Can a loading file get its path?
  5. Message-ID: <1992Nov18.095408.23454@muddcs.claremont.edu>
  6. Sender: news@muddcs.claremont.edu (The News System)
  7. Organization: Harvey Mudd College, Claremont, CA 91711
  8. Date: Wed, 18 Nov 1992 09:54:08 GMT
  9. Lines: 7
  10.  
  11. When an elisp file is being loaded, is there any way for it to find out
  12. what its pathname is?  It doesn't have a buffer yet, so buffer-file-name is
  13. nil.  default-directory just gives the current directory of emacs.
  14.  
  15. --
  16. Jason Merrill                    jason@jarthur.claremont.edu
  17. This is a self-referential .sig which is not particularly interesting.
  18.