diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbcff3e97c0..2bd92de45e7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-06-18 Martin Rudalics + + * window.el (special-display-p): Completely remove stringp + check. Suggested by Andreas Schwab . + 2012-06-17 Michael Albinus * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'. 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))