Mercurial > hg > xemacs-beta
comparison lisp/files.el @ 3061:fd1acd2f457a
[xemacs-hg @ 2005-11-13 07:39:26 by ben]
fix 'foo -> `foo', `foo.' -> `foo'.
derived.el, frame.el, toolbar.el, glyphs.el, hyper-apropos.el, mouse.el, files.el, specifier.el: Fix uses of `foo'; change 'foo -> `foo', and put punctuation outside
of quotes.
Add comments in specifier.el about needing better and new convenience
functions.
author | ben |
---|---|
date | Sun, 13 Nov 2005 07:39:29 +0000 |
parents | 5427b625d5cc |
children | 305157cf3ebb |
comparison
equal
deleted
inserted
replaced
3060:7679bfa253c2 | 3061:fd1acd2f457a |
---|---|
2476 | 2476 |
2477 (defun file-name-extension (filename &optional period) | 2477 (defun file-name-extension (filename &optional period) |
2478 "Return FILENAME's final \"extension\". | 2478 "Return FILENAME's final \"extension\". |
2479 The extension, in a file name, is the part that follows the last `.'. | 2479 The extension, in a file name, is the part that follows the last `.'. |
2480 Return nil for extensionless file names such as `foo'. | 2480 Return nil for extensionless file names such as `foo'. |
2481 Return the empty string for file names such as `foo.'. | 2481 Return the empty string for file names such as `foo'. |
2482 | 2482 |
2483 If PERIOD is non-nil, then the returned value includes the period | 2483 If PERIOD is non-nil, then the returned value includes the period |
2484 that delimits the extension, and if FILENAME has no extension, | 2484 that delimits the extension, and if FILENAME has no extension, |
2485 the value is \"\"." | 2485 the value is \"\"." |
2486 (save-match-data | 2486 (save-match-data |