[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d08568e: ; Silence byte-compilation warning in last change
From: |
Basil L. Contovounesios |
Subject: |
master d08568e: ; Silence byte-compilation warning in last change |
Date: |
Wed, 9 Sep 2020 19:25:09 -0400 (EDT) |
branch: master
commit d08568e6e923051ca2376c2e0e6e7a22b66a2f33
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
; Silence byte-compilation warning in last change
* lisp/tab-line.el (tab-line-switch-cycling): Move definition before
first use.
---
lisp/tab-line.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index a6387f8..108f9f7 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -642,6 +642,15 @@ using the `previous-buffer' command."
(with-selected-window window
(switch-to-buffer buffer))))))
+(defcustom tab-line-switch-cycling nil
+ "Enable cycling tab switch.
+If non-nil, `tab-line-switch-to-prev-tab' in the first tab
+switches to the last tab and `tab-line-switch-to-next-tab' in the
+last tab switches to the first tab."
+ :type 'boolean
+ :group 'tab-line
+ :version "28.1")
+
(defun tab-line-switch-to-prev-tab (&optional mouse-event)
"Switch to the previous tab.
Its effect is the same as using the `previous-buffer' command
@@ -690,15 +699,6 @@ Its effect is the same as using the `next-buffer' command
(when (bufferp buffer)
(switch-to-buffer buffer)))))))
-(defcustom tab-line-switch-cycling nil
- "Enable cycling tab switch.
-If non-nil, `tab-line-switch-to-prev-tab' in the first tab
-switches to the last tab and `tab-line-switch-to-next-tab' in the
-last tab switches to the first tab."
- :type 'boolean
- :group 'tab-line
- :version "28.1")
-
(defcustom tab-line-close-tab-function 'bury-buffer
"Defines what to do on closing the tab.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d08568e: ; Silence byte-compilation warning in last change,
Basil L. Contovounesios <=