* lisp/tab-bar.el (tab-bar-swap-tabs): Use cl-rotatef instead of rotatef.
This commit is contained in:
parent
912966a5aa
commit
bdeda7262c
1 changed files with 2 additions and 2 deletions
|
@ -551,8 +551,8 @@ FROM-INDEX and TO-INDEX count from 1."
|
|||
(interactive "P")
|
||||
(let* ((tabs (funcall tab-bar-tabs-function))
|
||||
(from-index (or from-index (1+ (tab-bar--current-tab-index tabs)))))
|
||||
(rotatef (nth (1- from-index) tabs)
|
||||
(nth (1- to-index) tabs))))
|
||||
(cl-rotatef (nth (1- from-index) tabs)
|
||||
(nth (1- to-index) tabs))))
|
||||
|
||||
(defun tab-bar-move-tab (&optional arg)
|
||||
"Move the current tab ARG positions to the right.
|
||||
|
|
Loading…
Add table
Reference in a new issue