aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/pcvs-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pcvs-util.el')
-rw-r--r--lisp/pcvs-util.el4
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.
126In such a case, the search for another buffer with the same name doesn't 126In such a case, the search for another buffer with the same name doesn't
127use the buffer name but the buffer's `list-buffers-directory' variable. 127use the buffer name but the buffer's `list-buffers-directory' variable.
128If NOREUSE is non-nil, always return a new buffer." 128If 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