Function: tab-bar-duplicate-tab

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

Signature

(tab-bar-duplicate-tab &optional ARG FROM-NUMBER)

Documentation

Clone the current tab to ARG positions to the right.

ARG and FROM-NUMBER have the same meaning as in tab-bar-new-tab.

Key Bindings

Aliases

tab-duplicate

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-duplicate-tab (&optional arg from-number)
  "Clone the current tab to ARG positions to the right.
ARG and FROM-NUMBER have the same meaning as in `tab-bar-new-tab'."
  (interactive "P")
  (let ((tab-bar-new-tab-choice 'clone)
        (tab-bar-new-tab-group t))
    (tab-bar-new-tab arg from-number)))