Function: f-no-ext

f-no-ext is a for file-name-sans-extension, defined in files.el.gz.

Signature

(f-no-ext FILENAME)

Documentation

Return FILENAME sans final "extension".

The extension, in a file name, is the part that begins with the last ., except that a leading . of the file name, if there is one, doesn't count.

Other relevant functions are documented in the f group.

Shortdoc

;; f
(f-no-ext "path/to/file")
    => "path/to/file"
  (f-no-ext "path/to/file.txt")
    => "path/to/file"
  (f-no-ext "path/to/file.txt.org")
    => "path/to/file.txt"

Aliases

f-no-ext