diff options
author | Glenn Morris <rgm@gnu.org> | 2014-06-08 16:41:43 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-06-08 16:41:43 -0700 |
commit | fd60bf6c902b47daadda6ebf442045dbe1328941 (patch) | |
tree | fd351a1fc087aefbca38b87102f06edf9f8b04ff /doc/lispref/files.texi | |
parent | ff2d0e8336c05cb7d3e86f7406784cefc1d6589e (diff) | |
parent | 4181427f24e591f539122db2e3d8d8b55a7de7cd (diff) | |
download | emacs-fd60bf6c902b47daadda6ebf442045dbe1328941.tar.gz emacs-fd60bf6c902b47daadda6ebf442045dbe1328941.tar.bz2 emacs-fd60bf6c902b47daadda6ebf442045dbe1328941.zip |
Merge from emacs-24; up to 2014-06-02T11:35:40Z!michael.albinus@gmx.de
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r-- | doc/lispref/files.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index fcfd37e987d..ac77b94d8f6 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -254,11 +254,16 @@ is permanent local, so it is unaffected by changes of major modes. which are sometimes useful in user Lisp code: @code{create-file-buffer} and @code{after-find-file}. This section explains how to use them. +@c FIXME This does not describe the default behavior, because +@c uniquify is enabled by default and advises this function. +@c This is confusing. uniquify should be folded into the function proper. @defun create-file-buffer filename This function creates a suitably named buffer for visiting @var{filename}, and returns it. It uses @var{filename} (sans directory) as the name if that name is free; otherwise, it appends a string such as @samp{<2>} to get an unused name. See also @ref{Creating Buffers}. +Note that the @file{uniquify} library affects the result of this +function. @xref{Uniquify,,, emacs, The GNU Emacs Manual}. @strong{Please note:} @code{create-file-buffer} does @emph{not} associate the new buffer with a file and does not select the buffer. |