Completely remove stringp check in special-display-p.

* window.el (special-display-p): Completely remove stringp
check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
This commit is contained in:
Martin Rudalics 2012-06-18 08:22:22 +02:00
parent 298551496f
commit 24b0cff0ba
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-06-18 Martin Rudalics <rudalics@gmx.at>
* window.el (special-display-p): Completely remove stringp
check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2012-06-17 Michael Albinus <michael.albinus@gmx.de>
* minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.

View file

@ -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))