]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix two typos in same-window-p.
authorMartin Rudalics <rudalics@gmx.at>
Fri, 17 Jun 2011 06:04:44 +0000 (08:04 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 17 Jun 2011 06:04:44 +0000 (08:04 +0200)
* window.el (same-window-p): Fix two typos introduced when
adding with-no-warnings.

lisp/ChangeLog
lisp/window.el

index b5d76e3f5338c2d6e4d7217d6a6c5347afc6f828..0ea97860bfe551d2f3b1521d0218bdd19950ad0d 100644 (file)
@@ -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
index aa874b8e50386a7bf81f3f416d1f34c60680d174..0372a2f13f1f8f9e53f7d0262e60bc14e304fba5 100644 (file)
@@ -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