Updated decompile.el for XEmacs

2003-02-23 Thread Nick
I've updated decompile.el so that it will work with XEmacs.  Decompile.el's problem 
with XEmacs stems from the fact that 'temporary-file-directory' is not a defined 
variable in XEmacs.  Instead, XEmacs uses the'temp-directory' function.

To fix this, I added a new defun to abstract out how the temp directory is determined:

(defun jdc-temp-file ()
  Returns the temporary directory appropriate for the emacsen in use.
  (if (featurep 'xemacs)
(temp-directory)
temporary-file-directory))

Unfortunately, I don't have Emacs installed, so I'm unsure if this will work properly 
under Emacs.  I would appreciate it if someone would drop this in and try it.  You can 
download my patched version from:

http://www.mg2.org/nick/decompile.el

Regards,
Nick


Updated decompile.el for XEmacs

2003-02-23 Thread Nick Heudecker
I've updated decompile.el so that it will work with XEmacs.  Decompile.el's problem 
with XEmacs stems from the fact that 'temporary-file-directory' is not a defined 
variable in XEmacs.  Instead, XEmacs uses the'temp-directory' function.

To fix this, I added a new defun to abstract out how the temp directory is determined:

(defun jdc-temp-file ()
  Returns the temporary directory appropriate for the emacsen in use.
  (if (featurep 'xemacs)
(temp-directory)
temporary-file-directory))

Unfortunately, I don't have Emacs installed, so I'm unsure if this will work properly 
under Emacs.  I would appreciate it if someone would drop this in and try it.  You can 
download my patched version from:

http://www.mg2.org/nick/decompile.el

Regards,
Nick