unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* file-name-extension doc fix.
@ 2008-11-11 20:44 Lute Kamstra
  2008-11-12  2:53 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Lute Kamstra @ 2008-11-11 20:44 UTC (permalink / raw)
  To: emacs-devel

Any objections to the following doc fix for file-name-extension?

  Lute.


Index: doc/lispref/files.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/files.texi,v
retrieving revision 1.9
diff -C 3 -r1.9 files.texi
*** doc/lispref/files.texi	10 Nov 2008 15:29:12 -0000	1.9
--- doc/lispref/files.texi	11 Nov 2008 20:40:10 -0000
***************
*** 1701,1708 ****
  This function returns @var{filename}'s final ``extension,'' if any,
  after applying @code{file-name-sans-versions} to remove any
  version/backup part.  The extension, in a file name, is the part that
! starts with the last @samp{.} in the last name component (minus
! any version/backup part).
  
  This function returns @code{nil} for extensionless file names such as
  @file{foo}.  It returns @code{""} for null extensions, as in
--- 1701,1708 ----
  This function returns @var{filename}'s final ``extension,'' if any,
  after applying @code{file-name-sans-versions} to remove any
  version/backup part.  The extension, in a file name, is the part that
! follows the last @samp{.} in the last name component (minus any
! version/backup part).
  
  This function returns @code{nil} for extensionless file names such as
  @file{foo}.  It returns @code{""} for null extensions, as in
Index: doc/lispref/ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/ChangeLog,v
retrieving revision 1.142
diff -C 3 -r1.142 ChangeLog
*** doc/lispref/ChangeLog	11 Nov 2008 11:47:59 -0000	1.142
--- doc/lispref/ChangeLog	11 Nov 2008 20:40:12 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2008-11-11  Lute Kamstra  <lute@gnu.org>
+ 
+ 	* files.texi (File Name Components): Fix file-name-extension
+ 	documentation.
+ 
  2008-11-11  Juanma Barranquero  <lekktu@gmail.com>
  
  	* frames.texi (Basic Parameters): Remove display-environment-variable




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: file-name-extension doc fix.
  2008-11-11 20:44 file-name-extension doc fix Lute Kamstra
@ 2008-11-12  2:53 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-11-12  2:53 UTC (permalink / raw)
  To: Lute Kamstra; +Cc: emacs-devel

> Any objections to the following doc fix for file-name-extension?

Looks good, indeed.


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-12  2:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 20:44 file-name-extension doc fix Lute Kamstra
2008-11-12  2:53 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).