aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-07-20 19:25:43 +0300
committerEli Zaretskii2023-07-20 19:25:43 +0300
commite72afa9dbf92f45d00c87c90ead364d52f73024f (patch)
tree92e4e4051730880237d9401fe4d38a9c639b5f3e
parent65108998b1ee0b42b57d478ba3b51f9040f04cd4 (diff)
downloademacs-e72afa9dbf92f45d00c87c90ead364d52f73024f.tar.gz
emacs-e72afa9dbf92f45d00c87c90ead364d52f73024f.zip
Fix defface's with no customization data
* lisp/net/shr.el (shr-h4, shr-h5, shr-h6): * lisp/cedet/semantic/decorate/include.el (semantic-decoration-on-includes): * lisp/progmodes/make-mode.el (makefile-shell): * lisp/time.el (display-time-date-and-time): * lisp/nxml/nxml-mode.el (nxml-text, nxml-delimiter) (nxml-element-colon): Add face definitions (bug#64655).
-rw-r--r--lisp/cedet/semantic/decorate/include.el2
-rw-r--r--lisp/net/shr.el3
-rw-r--r--lisp/nxml/nxml-mode.el14
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/time.el1
5 files changed, 13 insertions, 9 deletions
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el
index c83de66ef0c..96bf8cec3b2 100644
--- a/lisp/cedet/semantic/decorate/include.el
+++ b/lisp/cedet/semantic/decorate/include.el
@@ -48,7 +48,7 @@
48;;; Includes that are in a happy state! 48;;; Includes that are in a happy state!
49;; 49;;
50(defface semantic-decoration-on-includes 50(defface semantic-decoration-on-includes
51 nil 51 '((t (:inherit default)))
52 "Overlay Face used on includes that are not in some other state. 52 "Overlay Face used on includes that are not in some other state.
53Used by the decoration style: `semantic-decoration-on-includes'." 53Used by the decoration style: `semantic-decoration-on-includes'."
54 :group 'semantic-faces) 54 :group 'semantic-faces)
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 9b19a1b3980..0daeafe13ca 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -217,14 +217,17 @@ temporarily blinks with this face."
217 :version "28.1") 217 :version "28.1")
218 218
219(defface shr-h4 nil 219(defface shr-h4 nil
220 '((t (:inherit default)))
220 "Face for <h4> elements." 221 "Face for <h4> elements."
221 :version "28.1") 222 :version "28.1")
222 223
223(defface shr-h5 nil 224(defface shr-h5 nil
225 '((t (:inherit default)))
224 "Face for <h5> elements." 226 "Face for <h5> elements."
225 :version "28.1") 227 :version "28.1")
226 228
227(defface shr-h6 nil 229(defface shr-h6 nil
230 '((t (:inherit default)))
228 "Face for <h6> elements." 231 "Face for <h6> elements."
229 :version "28.1") 232 :version "28.1")
230 233
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el
index 3869d0327fd..67d136b5a66 100644
--- a/lisp/nxml/nxml-mode.el
+++ b/lisp/nxml/nxml-mode.el
@@ -151,17 +151,17 @@ This is not used directly, but only via inheritance by other faces."
151This is not used directly, but only via inheritance by other faces." 151This is not used directly, but only via inheritance by other faces."
152 :group 'nxml-faces) 152 :group 'nxml-faces)
153 153
154(defface nxml-text
155 '((t (:inherit default)))
156 "Face used to highlight text."
157 :group 'nxml-faces)
158
154(defface nxml-delimiter 159(defface nxml-delimiter
155 nil 160 '((t (:inherit nxml-text)))
156 "Face used to highlight delimiters. 161 "Face used to highlight delimiters.
157This is not used directly, but only via inheritance by other faces." 162This is not used directly, but only via inheritance by other faces."
158 :group 'nxml-faces) 163 :group 'nxml-faces)
159 164
160(defface nxml-text
161 nil
162 "Face used to highlight text."
163 :group 'nxml-faces)
164
165(defface nxml-processing-instruction-delimiter 165(defface nxml-processing-instruction-delimiter
166 '((t (:inherit nxml-delimiter))) 166 '((t (:inherit nxml-delimiter)))
167 "Face used for the delimiters of processing instructions, i.e., <? and ?>." 167 "Face used for the delimiters of processing instructions, i.e., <? and ?>."
@@ -230,7 +230,7 @@ This includes the `x' in hex references."
230 :group 'nxml-faces) 230 :group 'nxml-faces)
231 231
232(defface nxml-element-colon 232(defface nxml-element-colon
233 nil 233 '((t (:inherit nxml-delimiter)))
234 "Face used for the colon in element names." 234 "Face used for the colon in element names."
235 :group 'nxml-faces) 235 :group 'nxml-faces)
236 236
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 5ea03b9e852..308ba69cb9a 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -105,7 +105,7 @@
105 :version "22.1") 105 :version "22.1")
106 106
107(defface makefile-shell 107(defface makefile-shell
108 () 108 '((t (:inherit default)))
109 ;;'((((class color) (min-colors 88) (background light)) (:background "seashell1")) 109 ;;'((((class color) (min-colors 88) (background light)) (:background "seashell1"))
110 ;; (((class color) (min-colors 88) (background dark)) (:background "seashell4"))) 110 ;; (((class color) (min-colors 88) (background dark)) (:background "seashell4")))
111 "Face to use for additionally highlighting Shell commands in Font-Lock mode." 111 "Face to use for additionally highlighting Shell commands in Font-Lock mode."
diff --git a/lisp/time.el b/lisp/time.el
index 522bec46ac6..0184f96fcc2 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -141,6 +141,7 @@ make the mail indicator stand out on a color display."
141 141
142(defface display-time-date-and-time nil 142(defface display-time-date-and-time nil
143 "Face for `display-time-format'." 143 "Face for `display-time-format'."
144 '((t (:inherit mode-line)))
144 :group 'mode-line-faces 145 :group 'mode-line-faces
145 :version "30.1") 146 :version "30.1")
146 147