Function: mouse-delete-other-windows

mouse-delete-other-windows is an interactive and byte-compiled function defined in mouse.el.gz.

Signature

(mouse-delete-other-windows CLICK)

Documentation

Delete all windows except the one you click on.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defun mouse-delete-other-windows (click)
  "Delete all windows except the one you click on."
  (interactive "e")
  (when (and (eq (posn-area (event-end click)) 'mode-line)
             (eq (posn-window (event-start click))
                 (posn-window (event-end click))))
    (delete-other-windows (posn-window (event-start click)))))