Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I want to use elisp. I use the above code in elisp code already, Commented Jul 7, 2023 at 21:30
  • I do not want emacs to write to my init file at all. I only want the elisp code I actually write to be included in the emacs setup configuration. Commented Jul 7, 2023 at 21:33
  • Put all such info in the question. Put your code in a separate file from your init file, and require it from the init file. (Customize does that automatically, and it doesn't make mistakes like we do - you just have to set variable custom-file...) Commented Jul 7, 2023 at 21:35
  • I shall settle with set-face-attribute as instructed. Commented Jul 7, 2023 at 21:47