[Top][All Lists]

[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 20:36:00 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Rodolfo Medina <address@hidden> writes:

> Rodolfo Medina <address@hidden> writes:
>> After customizing the font size, in my .emacs appeared the following
>> stuff:
>> (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-menu-header ((t (:inherit variable-pitch :weight bold :height 1))))
>>  '(info-title-1 ((t (:inherit info-title-2 :height 1))))
>>  '(info-title-3 ((t (:inherit info-title-4 :height 1))))
>>  '(info-xref ((t (:inherit link :height 1)))))

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

You can try

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

Hope that helps

reply via email to

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