@@ -334,6 +334,15 @@ format characters are recognized:
334
334
" StGit mode face used for modified file status."
335
335
:group 'stgit-faces )
336
336
337
+ (defconst stgit-patch-status-face-alist
338
+ '((applied . stgit-applied-patch-face)
339
+ (top . stgit-top-patch-face)
340
+ (unapplied . stgit-unapplied-patch-face)
341
+ (committed . stgit-committed-patch-face)
342
+ (index . stgit-index-work-tree-title-face)
343
+ (work . stgit-index-work-tree-title-face))
344
+ " Alist of face to use for a given patch status." )
345
+
337
346
(defun stgit (dir )
338
347
" Manage StGit patches for the tree in DIR.
339
348
@@ -823,15 +832,6 @@ during the operation."
823
832
(ignore " Ignored" stgit-ignored-file-face)))
824
833
" Alist of code symbols to description strings." )
825
834
826
- (defconst stgit-patch-status-face-alist
827
- '((applied . stgit-applied-patch-face)
828
- (top . stgit-top-patch-face)
829
- (unapplied . stgit-unapplied-patch-face)
830
- (committed . stgit-committed-patch-face)
831
- (index . stgit-index-work-tree-title-face)
832
- (work . stgit-index-work-tree-title-face))
833
- " Alist of face to use for a given patch status." )
834
-
835
835
(defun stgit-file-status-code-as-string (file )
836
836
" Return stgit status code for FILE as a string."
837
837
(let* ((code (assq (stgit-file->status file)
0 commit comments