]> code.delx.au - gnu-emacs/blobdiff - lisp/term/mac-win.el
Merge from emacs--devo--0
[gnu-emacs] / lisp / term / mac-win.el
index 9c8827b0ae5f24d8979e624f4d249803871b3def..c2dcdd9c787d48ce3409c819c8da80ec2142f511 100644 (file)
@@ -10,7 +10,7 @@
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
 ;; any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
@@ -2255,7 +2255,7 @@ See also `mac-dnd-known-types'."
         (handler (cdr type-info))
         (w (posn-window (event-start event))))
     (when handler
-      (if (and (windowp w) (window-live-p w)
+      (if (and (window-live-p w)
               (not (window-minibuffer-p w))
               (not (window-dedicated-p w)))
          ;; If dropping in an ordinary window which we could use,