[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info nodes titles font size customization
From: |
harven |
Subject: |
Re: Info nodes titles font size customization |
Date: |
Sun, 05 Oct 2008 23:08:53 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) |
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> 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)))
> 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
> )))
You need
(add-hook 'info-mode-hook (lambda ()
(set-face-attribute 'info-title-1 nil
:inherit info-title-2
:height 1)))
The meaning of the nil in set-face-attribute means "apply to all
frames" (no restriction). The meaning of the t in custom-set-attribute
means "apply to all frames" (always true). Please see the online help
of these functions for details (C-h f set-face-attribute).
- RE: Info nodes titles font size customization, (continued)
- RE: Info nodes titles font size customization, Drew Adams, 2008/10/05
- Re: Info nodes titles font size customization, harven, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Lennart Borgman (gmail), 2008/10/05
- RE: Info nodes titles font size customization, Drew Adams, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Joost Kremers, 2008/10/05
- Re: Info nodes titles font size customization, Richard Riley, 2008/10/06
- Re: Info nodes titles font size customization, Joost Kremers, 2008/10/07
- Re: Info nodes titles font size customization, Nikolaj Schumacher, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization,
harven <=
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Lennart Borgman (gmail), 2008/10/05
RE: Info nodes titles font size customization, Drew Adams, 2008/10/05
Re: Info nodes titles font size customization, Reiner Steib, 2008/10/05
[solved] Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/11