1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Prefer defface's ':weight bold' to obsolete alias ':bold t'

* etc/themes/adwaita-theme.el (adwaita):
* etc/themes/manoj-dark-theme.el (manoj-dark):
* etc/themes/modus-themes.el (modus-themes-faces):
* lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud)
(gnus-server-opened, gnus-server-denied, gnus-server-offline):
* lisp/gnus/gnus.el (gnus-group-news-1, gnus-group-news-2)
(gnus-group-news-3, gnus-group-news-4, gnus-group-news-5)
(gnus-group-news-6, gnus-group-news-low, gnus-group-mail-1)
(gnus-group-mail-2, gnus-group-mail-3, gnus-group-mail-low-empty)
(gnus-group-mail-low, gnus-summary-high-ticked)
(gnus-summary-high-ancient, gnus-summary-high-undownloaded)
(gnus-summary-high-unread, gnus-summary-high-read):
* lisp/gnus/message.el (message-header-to, message-header-cc)
(message-header-subject, message-header-newsgroups)
(message-header-other, message-header-name, message-header-xheader)
(message-separator, message-cited-text-1, message-cited-text-2)
(message-cited-text-3, message-cited-text-4, message-mml)
(message-signature-separator):
* lisp/mh-e/mh-e.el (mh-face-data, mh-folder-cur-msg-number)
(mh-speedbar-folder-with-unseen-messages)
(mh-speedbar-selected-folder-with-unseen-messages):
* lisp/net/dictionary.el (dictionary-button-face):
* lisp/org/org-faces.el (org-drawer, org-tag, org-list-dt, org-todo)
(org-done, org-headline-todo, org-formula, org-agenda-structure)
(org-scheduled, org-scheduled-today, org-scheduled-previously)
(org-upcoming-deadline):
* lisp/proced.el (proced-uninterruptible-sleep-status-code)
(proced-executable, proced-cpu, proced-user, proced-time-colon):
* lisp/progmodes/erts-mode.el (erts-mode-specification-name)
(erts-mode-specification-value):
* lisp/progmodes/prolog.el (prolog-font-lock-keywords):
* lisp/progmodes/verilog-mode.el (verilog-font-lock-p1800-face)
(verilog-font-lock-ams-face)
(verilog-font-lock-grouping-keywords-face):
* lisp/progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-attribute-face, vhdl-font-lock-enumvalue-face)
(vhdl-font-lock-function-face, vhdl-font-lock-directive-face)
(vhdl-font-lock-reserved-words-face): Prefer defface attribute
':weight bold' to its obsolete alias ':bold t'.  See also Bug#73552.
This commit is contained in:
Stefan Kangas 2025-01-21 09:23:03 +01:00
parent 49f449bb5b
commit 375befcacc
16 changed files with 190 additions and 190 deletions

View file

@ -38,7 +38,7 @@
(background light))
:foreground "cornflower blue")
(t
:bold t))
:weight bold))
"Face used for displaying specification names."
:group 'erts-mode)
@ -50,7 +50,7 @@
(background light))
:foreground "blue")
(t
:bold t))
:weight bold))
"Face used for displaying specification values."
:group 'erts-mode)

View file

@ -1881,9 +1881,9 @@ Argument BOUND is a buffer position limiting searching."
"Prolog mode face for highlighting exit trace lines."
:group 'prolog-faces)
(defface prolog-exception-face
'((((class grayscale)) (:bold t :italic t :underline t))
(((class color)) (:bold t :foreground "black" :background "Khaki"))
(t (:bold t :italic t :underline t)))
'((((class grayscale)) (:weight bold :italic t :underline t))
(((class color)) (:weight bold :foreground "black" :background "Khaki"))
(t (:weight bold :italic t :underline t)))
"Prolog mode face for highlighting exception trace lines."
:group 'prolog-faces)
(defface prolog-warning-face
@ -1899,9 +1899,9 @@ Argument BOUND is a buffer position limiting searching."
'((((class color) (background light)) (:foreground "Purple"))
(((class color) (background dark)) (:foreground "Cyan"))
(((class grayscale) (background light))
:foreground "LightGray" :bold t)
(((class grayscale) (background dark)) (:foreground "DimGray" :bold t))
(t (:bold t)))
:foreground "LightGray" :weight bold)
(((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
(t (:weight bold)))
"Face name to use for compiler warnings."
:group 'prolog-faces)
(define-obsolete-face-alias 'prolog-builtin-face

View file

@ -3287,10 +3287,10 @@ See also `verilog-font-lock-extra-types'.")
(defface verilog-font-lock-p1800-face
'((((class color)
(background light))
(:foreground "DarkOrange3" :bold t ))
(:foreground "DarkOrange3" :weight bold ))
(((class color)
(background dark))
(:foreground "orange1" :bold t ))
(:foreground "orange1" :weight bold ))
(t (:italic t)))
"Font lock mode face used to highlight P1800 keywords."
:group 'font-lock-highlighting-faces)
@ -3302,10 +3302,10 @@ See also `verilog-font-lock-extra-types'.")
(defface verilog-font-lock-ams-face
'((((class color)
(background light))
(:foreground "Purple" :bold t ))
(:foreground "Purple" :weight bold ))
(((class color)
(background dark))
(:foreground "orange1" :bold t ))
(:foreground "orange1" :weight bold ))
(t (:italic t)))
"Font lock mode face used to highlight AMS keywords."
:group 'font-lock-highlighting-faces)
@ -3316,10 +3316,10 @@ See also `verilog-font-lock-extra-types'.")
(defface verilog-font-lock-grouping-keywords-face
'((((class color)
(background light))
(:foreground "Purple" :bold t ))
(:foreground "Purple" :weight bold ))
(((class color)
(background dark))
(:foreground "orange1" :bold t ))
(:foreground "orange1" :weight bold ))
(t (:italic t)))
"Font lock mode face used to highlight verilog grouping keywords."
:group 'font-lock-highlighting-faces)

View file

@ -13585,9 +13585,9 @@ This does background highlighting of translate-off regions.")
(defface vhdl-font-lock-prompt-face
'((((min-colors 88) (class color) (background light))
(:foreground "Red1" :bold t))
(((class color) (background light)) (:foreground "Red" :bold t))
(((class color) (background dark)) (:foreground "Pink" :bold t))
(:foreground "Red1" :weight bold))
(((class color) (background light)) (:foreground "Red" :weight bold))
(((class color) (background dark)) (:foreground "Pink" :weight bold))
(t (:inverse-video t)))
"Font lock mode face used to highlight prompts."
:group 'vhdl-highlight-faces)
@ -13595,36 +13595,36 @@ This does background highlighting of translate-off regions.")
(defface vhdl-font-lock-attribute-face
'((((class color) (background light)) (:foreground "Orchid"))
(((class color) (background dark)) (:foreground "LightSteelBlue"))
(t (:italic t :bold t)))
(t (:italic t :weight bold)))
"Font lock mode face used to highlight standardized attributes."
:group 'vhdl-highlight-faces)
(defface vhdl-font-lock-enumvalue-face
'((((class color) (background light)) (:foreground "SaddleBrown"))
(((class color) (background dark)) (:foreground "BurlyWood"))
(t (:italic t :bold t)))
(t (:italic t :weight bold)))
"Font lock mode face used to highlight standardized enumeration values."
:group 'vhdl-highlight-faces)
(defface vhdl-font-lock-function-face
'((((class color) (background light)) (:foreground "Cyan4"))
(((class color) (background dark)) (:foreground "Orchid1"))
(t (:italic t :bold t)))
(t (:italic t :weight bold)))
"Font lock mode face used to highlight standardized functions and packages."
:group 'vhdl-highlight-faces)
(defface vhdl-font-lock-directive-face
'((((class color) (background light)) (:foreground "CadetBlue"))
(((class color) (background dark)) (:foreground "Aquamarine"))
(t (:italic t :bold t)))
(t (:italic t :weight bold)))
"Font lock mode face used to highlight directives."
:group 'vhdl-highlight-faces)
(defface vhdl-font-lock-reserved-words-face
'((((class color) (background light)) (:foreground "Orange" :bold t))
'((((class color) (background light)) (:foreground "Orange" :weight bold))
(((min-colors 88) (class color) (background dark))
(:foreground "Yellow1" :bold t))
(((class color) (background dark)) (:foreground "Yellow" :bold t))
(:foreground "Yellow1" :weight bold))
(((class color) (background dark)) (:foreground "Yellow" :weight bold))
(t ()))
"Font lock mode face used to highlight additional reserved words."
:group 'vhdl-highlight-faces)