help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Info nodes titles font size customization


From: Rodolfo Medina
Subject: Re: Info nodes titles font size customization
Date: Sun, 05 Oct 2008 22:49:39 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

>> I don't like settings by custom, I prefer writing lisp code in ~/.emacs.
>> How can I do so in this case?



harven <harven@free.fr> writes:

> You can try
>
> (add-hook 'info-mode-hook (lambda ()
>    (set-face-attribute 'info-menu-header nil 
>                       :inherit variable-pitch
>                        :weight bold
>                        :height 1)))




Nikolaj Schumacher <me@nschum.de> writes:

> (set-face-attribute 'show-paren-match nil
>                     :background "firebrick4" :foreground "black")



Strange: this works:

;(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(info-title-1 ((t (:inherit info-title-2 :height 1)))))


and this does not:

(add-hook 'info-mode-hook (lambda ()
          (set-face-attribute 'info-title-1 t
                              :inherit info-title-2
                              :height 1
)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]