Skip to content

Commit 325dbcd

Browse files
committed
forge--show-topic-legend: Define before first use
1 parent 1bc7e5d commit 325dbcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lisp/forge-topic.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,6 +1501,8 @@ This mode itself is never used directly."
15011501
;;; Commands
15021502
;;;; Groups
15031503

1504+
(defvar forge--show-topic-legend t)
1505+
15041506
(transient-define-group forge--lists-group
15051507
["List"
15061508
("l r" "repositories" forge-list-repositories)
@@ -1555,8 +1557,6 @@ This mode itself is never used directly."
15551557
["" :if-non-nil forge--show-topic-legend
15561558
(:info* (##propertize "draft" 'face 'forge-pullreq-draft))])
15571559

1558-
(defvar forge--show-topic-legend t)
1559-
15601560
(transient-define-suffix forge-toggle-topic-legend ()
15611561
"Toggle whether to show legend for faces used in topic menus and lists."
15621562
:description (##if forge--show-topic-legend "hide legend" "show legend")

0 commit comments

Comments
 (0)