aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris2014-06-08 00:41:27 -0700
committerGlenn Morris2014-06-08 00:41:27 -0700
commit99d8aedf0d6ab3fff025f72daf1f9bd28b07a8d2 (patch)
tree98f15969887d9453ae88fd66eb4d1d1fa3eafa01 /doc/lispref
parentb6542afeae56abe6b20019df63b76539728fca54 (diff)
downloademacs-99d8aedf0d6ab3fff025f72daf1f9bd28b07a8d2.tar.gz
emacs-99d8aedf0d6ab3fff025f72daf1f9bd28b07a8d2.zip
Doc edits re uniquify
* doc/emacs/buffers.texi (Uniquify): Copyedits. * doc/emacs/files.texi (Visiting): Update for uniquify changes. * doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify. * doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details. * lisp/bookmark.el (bookmark-load): Doc fix. * lisp/uniquify.el (uniquify-buffer-name-style): Doc fix. * lisp/files.el: Comment. * etc/NEWS: Related edit.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/files.texi5
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 1a4c9c3a57c..aa5589e1c16 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12014-06-08 Glenn Morris <rgm@gnu.org> 12014-06-08 Glenn Morris <rgm@gnu.org>
2 2
3 * files.texi (Subroutines of Visiting): Mention uniquify.
4
3 * numbers.texi (Comparison of Numbers): Copyedits. 5 * numbers.texi (Comparison of Numbers): Copyedits.
4 6
52014-06-06 Glenn Morris <rgm@gnu.org> 72014-06-06 Glenn Morris <rgm@gnu.org>
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 278b49e51e0..b071c6a8f35 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.
254which are sometimes useful in user Lisp code: @code{create-file-buffer} 254which are sometimes useful in user Lisp code: @code{create-file-buffer}
255and @code{after-find-file}. This section explains how to use them. 255and @code{after-find-file}. This section explains how to use them.
256 256
257@c FIXME This does not describe the default behavior, because
258@c uniquify is enabled by default and advises this function.
259@c This is confusing. uniquify should be folded into the function proper.
257@defun create-file-buffer filename 260@defun create-file-buffer filename
258This function creates a suitably named buffer for visiting 261This function creates a suitably named buffer for visiting
259@var{filename}, and returns it. It uses @var{filename} (sans directory) 262@var{filename}, and returns it. It uses @var{filename} (sans directory)
260as the name if that name is free; otherwise, it appends a string such as 263as the name if that name is free; otherwise, it appends a string such as
261@samp{<2>} to get an unused name. See also @ref{Creating Buffers}. 264@samp{<2>} to get an unused name. See also @ref{Creating Buffers}.
265Note that the @file{uniquify} library affects the result of this
266function. @xref{Uniquify,,, emacs, The GNU Emacs Manual}.
262 267
263@strong{Please note:} @code{create-file-buffer} does @emph{not} 268@strong{Please note:} @code{create-file-buffer} does @emph{not}
264associate the new buffer with a file and does not select the buffer. 269associate the new buffer with a file and does not select the buffer.