At 12:56 PM 2/1/2001 -0500, Glen Cordrey wrote:
>Is there a function which will return the class name, without the package
>path (i.e., NOT fully qualified) of the class in the current buffer?

If you mean the public class for which the buffer is named, the following
Lisp expression will work:

(file-name-sans-extension (buffer-file-name (current-buffer)))

assuming the current buffer is a Java buffer.

- Paul

Reply via email to