|
From: | Emanuel Berg |
Subject: | Re: Determining font weight |
Date: | Tue, 08 Feb 2022 02:26:15 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
goncholden wrote: >>> Is there a way to determine the font weight resulting from >>> the command >>> >>> (set-face-attribute 'default nil :height 160 :weight >>> >>> 'ultra-bold) >> >> `face-attribute' or` get-char-property' ... maybe. > > I am changing font-lock-comment-face to normal weight. > > (set-face-attribute 'font-lock-comment-face nil :weight 'normal)) > > But want to be able to change it back again to the default > setting done initially > using > > (set-face-attribute 'default nil :height 160 :weight 'ultra-bold) Do it. -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |