diff options
Diffstat (limited to 'lisp/pcvs-util.el')
| -rw-r--r-- | lisp/pcvs-util.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/pcvs-util.el b/lisp/pcvs-util.el index cb18fc83d59..84ce2e117b9 100644 --- a/lisp/pcvs-util.el +++ b/lisp/pcvs-util.el | |||
| @@ -126,7 +126,9 @@ with `create-file-buffer' and will probably get another name than NAME. | |||
| 126 | In such a case, the search for another buffer with the same name doesn't | 126 | In such a case, the search for another buffer with the same name doesn't |
| 127 | use the buffer name but the buffer's `list-buffers-directory' variable. | 127 | use the buffer name but the buffer's `list-buffers-directory' variable. |
| 128 | If NOREUSE is non-nil, always return a new buffer." | 128 | If NOREUSE is non-nil, always return a new buffer." |
| 129 | (or (and (not (file-name-absolute-p name)) (get-buffer-create name)) | 129 | (or (and (not (file-name-absolute-p name)) |
| 130 | (if noreuse (generate-new-buffer name) | ||
| 131 | (get-buffer-create name))) | ||
| 130 | (unless noreuse | 132 | (unless noreuse |
| 131 | (dolist (buf (buffer-list)) | 133 | (dolist (buf (buffer-list)) |
| 132 | (with-current-buffer buf | 134 | (with-current-buffer buf |