0

How could I override the Height of font-lock-function-name-face in default theme in verilog-mode major-mode?

Hope that value only affect 'verilog-mode'.

Thanks.

Enze Chi
  • 1,733
  • 17
  • 28
  • Here is an example with the `default` face for `eshell-mode` -- just adjust the code for your specific use case: `(defun my-eshell-mode-faces () (face-remap-add-relative 'default '((:foreground "#BD8700")))) (add-hook 'eshell-mode-hook 'my-eshell-mode-faces)`. E.g., instead of `'default`, you would be using `'font-lock-function-name-face`;instead of `:foreground "#BD8700"`, you would be using the `:height ...` attribute and specifying a specific height; instead of the `eshell-mode-hook` . . See also the manual: http://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Remapping.html – lawlist Mar 01 '15 at 03:37
  • Here is the link to the related thread, the gist of which is cited above: http://stackoverflow.com/a/28008006/2112489 – lawlist Mar 01 '15 at 03:43
  • A different solution to this is at https://emacs.stackexchange.com/questions/2957/how-to-customize-syntax-highlight-for-just-a-given-mode/2968#2968 – erikstokes Mar 01 '15 at 19:21

0 Answers0