summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 62cd226daec..6ea882d1ea2 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -4192,8 +4192,6 @@ or matches BUFFER-NAME, the return value is the cdr of that
entry."
(let (tmp)
(cond
- ((not (stringp buffer-name))
- (error "Invalid buffer name %s" buffer-name))
((member buffer-name special-display-buffer-names)
t)
((setq tmp (assoc buffer-name special-display-buffer-names))