mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
Fix two typos in same-window-p.
* window.el (same-window-p): Fix two typos introduced when adding with-no-warnings.
This commit is contained in:
parent
bf4846e712
commit
dbad4f694d
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-06-17 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (same-window-p): Fix two typos introduced when
|
||||
adding with-no-warnings.
|
||||
|
||||
2011-06-16 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (display-buffer-normalize-specifiers-1): Respect
|
||||
|
|
|
|||
|
|
@ -5628,8 +5628,8 @@ This function returns non-nil if `display-buffer' or
|
|||
`pop-to-buffer' would show a buffer named BUFFER-NAME in the
|
||||
selected rather than \(as usual\) some other window. See
|
||||
`same-window-buffer-names' and `same-window-regexps'."
|
||||
(let ((buffer-names (with-no-warnings special-display-buffer-names))
|
||||
(regexps (with-no-warnings special-display-regexps)))
|
||||
(let ((buffer-names (with-no-warnings same-window-buffer-names))
|
||||
(regexps (with-no-warnings same-window-regexps)))
|
||||
(cond
|
||||
((not (stringp buffer-name)))
|
||||
;; The elements of `same-window-buffer-names' can be buffer
|
||||
|
|
|
|||
Loading…
Reference in a new issue