(file-name-sans-extension (buffer-name)) On Thu, Feb 5, 2009 at 6:09 AM, Kiwon Um 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? :) >