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

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

Re: way to get the file name except the extension


From: Johan Andersson
Subject: Re: way to get the file name except the extension
Date: Thu, 5 Feb 2009 08:27:17 +0100

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

On Thu, Feb 5, 2009 at 6:09 AM, Kiwon Um <address@hidden> wrote:
Hello. I'm a newbie to elisp.

I'm wondering a built-in function or lisp codes to get the file name
except the extension from (buffer-name):
TestCode.cpp -> TestCode

Any advise? :)


reply via email to

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