diff options
| author | Glenn Morris | 2014-06-08 00:41:27 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-06-08 00:41:27 -0700 |
| commit | 99d8aedf0d6ab3fff025f72daf1f9bd28b07a8d2 (patch) | |
| tree | 98f15969887d9453ae88fd66eb4d1d1fa3eafa01 /doc/lispref | |
| parent | b6542afeae56abe6b20019df63b76539728fca54 (diff) | |
| download | emacs-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/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 5 |
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 @@ | |||
| 1 | 2014-06-08 Glenn Morris <rgm@gnu.org> | 1 | 2014-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 | ||
| 5 | 2014-06-06 Glenn Morris <rgm@gnu.org> | 7 | 2014-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. | |||
| 254 | which are sometimes useful in user Lisp code: @code{create-file-buffer} | 254 | which are sometimes useful in user Lisp code: @code{create-file-buffer} |
| 255 | and @code{after-find-file}. This section explains how to use them. | 255 | and @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 |
| 258 | This function creates a suitably named buffer for visiting | 261 | This 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) |
| 260 | as the name if that name is free; otherwise, it appends a string such as | 263 | as 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}. |
| 265 | Note that the @file{uniquify} library affects the result of this | ||
| 266 | function. @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} |
| 264 | associate the new buffer with a file and does not select the buffer. | 269 | associate the new buffer with a file and does not select the buffer. |