help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: hooking jode to emacs


From: Kevin Rodgers
Subject: Re: hooking jode to emacs
Date: Fri, 19 Dec 2003 16:38:35 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

kgold wrote:

I'd like to use jode to decompile when editing a class file.  I found
the below elisp.  However jode is a bit too smart, and adds .class
to the end of it's argument.  So it tries to look for

        filename.class.class

I need to pass the file name without the extension.  It seems like
file-name-sans-extension is what I want, but I just don't know the
syntax.  Could someone modify this elisp to do that?

It works the same way as file-name-extension, which you use.  What happens if
you just replace the reference to file in (shell-command ...) with
(file-name-sans-extension file)?

--
Kevin Rodgers



reply via email to

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