Uwe Brauer <oub(a)mat.ucm.es> wrote:
Hello
I am looking for a function which returns me the name of file without
extension, for example
(file-name-sans-extension "foo.tex")
Should return foo.
It seems that GNU Emacs has such a function but I fail to find one for
xemacs.
C-h f file-name-sans-extension
`file-name-sans-extension' (buffer: *Summary nnml+mail:xemacs-beta.xemacs.org*, mode:
Summary)
Compiled Lisp function,
(loaded from "/usr/local/src/xemacs-21.4-build/lisp/files.elc"):
arguments: (filename)
Return FILENAME sans final "extension".
The extension, in a file name, is the part that follows the last `.'.
--
Resistance is futile. You will be jazzimilated.
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-BicĂȘtre, France Fax.+33 (0)1 53 14 59 22 didier(a)xemacs.org
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta