diff options
Diffstat (limited to 'lisp/window.el')
| -rw-r--r-- | lisp/window.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el index aa874b8e503..0372a2f13f1 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -5628,8 +5628,8 @@ This function returns non-nil if `display-buffer' or | |||
| 5628 | `pop-to-buffer' would show a buffer named BUFFER-NAME in the | 5628 | `pop-to-buffer' would show a buffer named BUFFER-NAME in the |
| 5629 | selected rather than \(as usual\) some other window. See | 5629 | selected rather than \(as usual\) some other window. See |
| 5630 | `same-window-buffer-names' and `same-window-regexps'." | 5630 | `same-window-buffer-names' and `same-window-regexps'." |
| 5631 | (let ((buffer-names (with-no-warnings special-display-buffer-names)) | 5631 | (let ((buffer-names (with-no-warnings same-window-buffer-names)) |
| 5632 | (regexps (with-no-warnings special-display-regexps))) | 5632 | (regexps (with-no-warnings same-window-regexps))) |
| 5633 | (cond | 5633 | (cond |
| 5634 | ((not (stringp buffer-name))) | 5634 | ((not (stringp buffer-name))) |
| 5635 | ;; The elements of `same-window-buffer-names' can be buffer | 5635 | ;; The elements of `same-window-buffer-names' can be buffer |