New answers tagged

0

As @lawlist suggested I used face-remap-add-relative to achieve the required effect: (add-hook 'yaml-mode-hook (lambda () (face-remap-add-relative 'font-lock-variable-name-face :foreground "#fec66c")))


0

I ain't no expert on fonts. Let me know if this works for you (It's supposed to set font size to be 20): (let ((fsize 20) ;; font size (fs (font-spec :name (frame-parameter nil 'font)))) (font-put fs :size fsize) (set-frame-font fs nil t) (let ((new-font (frame-parameter nil 'font)) (current-default (assq 'font default-frame-alist))) ...


0

You may use per-buffer-theme.el. For example you could start with a setup like this: (require 'per-buffer-theme) (setq per-buffer-theme/use-timer t) (setq per-buffer-theme/timer-idle-delay 0.1) (setq per-buffer-theme/default-theme 'notheme) (setq per-buffer-theme/themes-alist '(((:theme . dichromacy) (:buffernames nil) (:modes ...


Top 50 recent answers are included