Function: tab-switcher-delete

tab-switcher-delete is an interactive and byte-compiled function defined in tab-bar.el.gz.

Signature

(tab-switcher-delete &optional ARG)

Documentation

Mark window configuration on this line to be deleted.

Prefix arg says how many window configurations to delete. Negative arg means delete backwards. The deletion will be done by the x (tab-switcher-execute) command.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-switcher-delete (&optional arg)
  "Mark window configuration on this line to be deleted.
Prefix arg says how many window configurations to delete.
Negative arg means delete backwards.
The deletion will be done by the \\<tab-switcher-mode-map>\\[tab-switcher-execute] command."
  (interactive "p")
  (let ((buffer-read-only nil))
    (if (or (null arg) (= arg 0))
        (setq arg 1))
    (while (> arg 0)
      (delete-char 1)
      (insert ?D)
      (forward-line 1)
      (setq arg (1- arg)))
    (while (< arg 0)
      (delete-char 1)
      (insert ?D)
      (forward-line -1)
      (setq arg (1+ arg)))
    (move-to-column tab-switcher-column)))