]> git.eshelyaron.com Git - emacs.git/commitdiff
In special-display-p signal an error if BUFFER-NAME is not a string (Bug#11713).
authorMartin Rudalics <rudalics@gmx.at>
Sun, 17 Jun 2012 10:43:50 +0000 (12:43 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 17 Jun 2012 10:43:50 +0000 (12:43 +0200)
* window.el (special-display-p): Signal an error if BUFFER-NAME
is not a string (Bug#11713).

lisp/ChangeLog
lisp/window.el

index c9fe44089c9d44c5f2f5c1f4e17e3755c384a09a..63b02cfe0171419a458686f91444e53ef5f5f2a9 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-17  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (special-display-p): Signal an error if BUFFER-NAME
+       is not a string (Bug#11713).
+
 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        * progmodes/python.el (python-info-beginning-of-backslash):
index d9dd7b63e271dbf326b94bd7377d0de3d76755d8..62cd226daec31a3ab207cd26e3f904e614196511 100644 (file)
@@ -4192,7 +4192,8 @@ or matches BUFFER-NAME, the return value is the cdr of that
 entry."
   (let (tmp)
     (cond
-     ((not (stringp buffer-name)))
+     ((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))