]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Rename args to consistent naming convention.
authorJuri Linkov <juri@linkov.net>
Wed, 15 Sep 2021 06:27:57 +0000 (09:27 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 15 Sep 2021 06:27:57 +0000 (09:27 +0300)
commitcc52f6d995ac73c66701f788852e9a8e82eea6f7
treee58896540bc4b845155b2e8a15b0b26f4715f919
parentb189b6f2564f903cf271a46910ad7a5df9da6918
* lisp/tab-bar.el: Rename args to consistent naming convention.

Use the same naming scheme for function arguments.  Use the term "index" when
arguments count from 0, and the term "number" when arguments count from 1.

* lisp/tab-bar.el (tab-bar-select-tab): Rename ‘arg’ to ‘tab-number’.
(tab-bar-move-tab-to): Rename ‘from-index’ to ‘from-number’
and ‘to-index’ to ‘to-number’.
(tab-bar-move-tab-to-frame): Rename ‘from-index’ to ‘from-number’
and ‘to-index’ to ‘to-number’.
(tab-bar-new-tab-to): Rename ‘to-index’ to ‘tab-number’.
(tab-bar-close-tab): Rename ‘arg’ to ‘tab-number’
and ‘to-index’ to ‘to-number’.
(tab-bar-rename-tab): Rename ‘arg’ to ‘tab-number’.
(tab-bar-change-tab-group): Rename ‘arg’ to ‘tab-number’.
lisp/tab-bar.el