diff options
| author | Protesilaos Stavrou | 2021-02-24 11:18:38 +0200 |
|---|---|---|
| committer | Basil L. Contovounesios | 2021-02-24 13:45:12 +0000 |
| commit | 91b37381eaa8db64965249b5a3a377c51d0afa1b (patch) | |
| tree | 5855e587ccc71a24d2b0b7acdd4181ee98e1ddc1 | |
| parent | 6172454ff36a23b903352ef099f15de7d013a3c9 (diff) | |
| download | emacs-91b37381eaa8db64965249b5a3a377c51d0afa1b.tar.gz emacs-91b37381eaa8db64965249b5a3a377c51d0afa1b.zip | |
Specify the Emacs version of new vc-dir faces
* vc-dir.el (vc-dir-header)
(vc-dir-header-value)
(vc-dir-directory)
(vc-dir-file)
(vc-dir-mark-indicator)
(vc-dir-status-warning)
(vc-dir-status-edited)
(vc-dir-status-up-to-date)
(vc-dir-status-ignored): Add version 28.1. (Bug#46745)
| -rw-r--r-- | lisp/vc/vc-dir.el | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index a416474e16d..46fbf448616 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el | |||
| @@ -56,39 +56,48 @@ See `run-hooks'." | |||
| 56 | 56 | ||
| 57 | (defface vc-dir-header '((t :inherit font-lock-type-face)) | 57 | (defface vc-dir-header '((t :inherit font-lock-type-face)) |
| 58 | "Face for headers in VC-dir buffers." | 58 | "Face for headers in VC-dir buffers." |
| 59 | :group 'vc) | 59 | :group 'vc |
| 60 | :version "28.1") | ||
| 60 | 61 | ||
| 61 | (defface vc-dir-header-value '((t :inherit font-lock-variable-name-face)) | 62 | (defface vc-dir-header-value '((t :inherit font-lock-variable-name-face)) |
| 62 | "Face for header values in VC-dir buffers." | 63 | "Face for header values in VC-dir buffers." |
| 63 | :group 'vc) | 64 | :group 'vc |
| 65 | :version "28.1") | ||
| 64 | 66 | ||
| 65 | (defface vc-dir-directory '((t :inherit font-lock-comment-delimiter-face)) | 67 | (defface vc-dir-directory '((t :inherit font-lock-comment-delimiter-face)) |
| 66 | "Face for directories in VC-dir buffers." | 68 | "Face for directories in VC-dir buffers." |
| 67 | :group 'vc) | 69 | :group 'vc |
| 70 | :version "28.1") | ||
| 68 | 71 | ||
| 69 | (defface vc-dir-file '((t :inherit font-lock-function-name-face)) | 72 | (defface vc-dir-file '((t :inherit font-lock-function-name-face)) |
| 70 | "Face for files in VC-dir buffers." | 73 | "Face for files in VC-dir buffers." |
| 71 | :group 'vc) | 74 | :group 'vc |
| 75 | :version "28.1") | ||
| 72 | 76 | ||
| 73 | (defface vc-dir-mark-indicator '((t :inherit font-lock-type-face)) | 77 | (defface vc-dir-mark-indicator '((t :inherit font-lock-type-face)) |
| 74 | "Face for mark indicators in VC-dir buffers." | 78 | "Face for mark indicators in VC-dir buffers." |
| 75 | :group 'vc) | 79 | :group 'vc |
| 80 | :version "28.1") | ||
| 76 | 81 | ||
| 77 | (defface vc-dir-status-warning '((t :inherit font-lock-warning-face)) | 82 | (defface vc-dir-status-warning '((t :inherit font-lock-warning-face)) |
| 78 | "Face for warning status in VC-dir buffers." | 83 | "Face for warning status in VC-dir buffers." |
| 79 | :group 'vc) | 84 | :group 'vc |
| 85 | :version "28.1") | ||
| 80 | 86 | ||
| 81 | (defface vc-dir-status-edited '((t :inherit font-lock-variable-name-face)) | 87 | (defface vc-dir-status-edited '((t :inherit font-lock-variable-name-face)) |
| 82 | "Face for edited status in VC-dir buffers." | 88 | "Face for edited status in VC-dir buffers." |
| 83 | :group 'vc) | 89 | :group 'vc |
| 90 | :version "28.1") | ||
| 84 | 91 | ||
| 85 | (defface vc-dir-status-up-to-date '((t :inherit font-lock-builtin-face)) | 92 | (defface vc-dir-status-up-to-date '((t :inherit font-lock-builtin-face)) |
| 86 | "Face for up-to-date status in VC-dir buffers." | 93 | "Face for up-to-date status in VC-dir buffers." |
| 87 | :group 'vc) | 94 | :group 'vc |
| 95 | :version "28.1") | ||
| 88 | 96 | ||
| 89 | (defface vc-dir-status-ignored '((t :inherit shadow)) | 97 | (defface vc-dir-status-ignored '((t :inherit shadow)) |
| 90 | "Face for ignored or empty values in VC-dir buffers." | 98 | "Face for ignored or empty values in VC-dir buffers." |
| 91 | :group 'vc) | 99 | :group 'vc |
| 100 | :version "28.1") | ||
| 92 | 101 | ||
| 93 | ;; Used to store information for the files displayed in the directory buffer. | 102 | ;; Used to store information for the files displayed in the directory buffer. |
| 94 | ;; Each item displayed corresponds to one of these defstructs. | 103 | ;; Each item displayed corresponds to one of these defstructs. |