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 20:38:32 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

Rodolfo Medina wrote:

>> > After customizing the font size, in my .emacs appeared the following
>> >
>> > (custom-set-faces ...)
>> >
>> > How can I replace the `custom-set-faces' issue by some 
>> > other command to achieve the same result?  `setq' does not work.
>>
>> I don't like settings by custom, I prefer writing lisp code 
>> in ~/.emacs.  How can I do so in this case?





"Drew Adams" <drew.adams@oracle.com> writes:

> Uh, use `custom-set-faces' in ~/.emacs?
>
> If you never use Customize, then Customize will never overwrite the
> `(custom-set-faces ...)' that you put in your ~/.emacs.



To better explain what I mean, suppose that I want a ps-top-margin of 20pt.  If
I do `M-x customize-group RET ps-psrint RET' and do my setting via
customization, in my .emacs the following ugly stuff will automatically appear:

(custom-set-variables
  ;; custom-set-variables 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.
 '(canlock-password "1f8d809977b1fd859c60b1c2c546a18075b660a4")
 '(ps-top-margin 5))


; instead, all I need is to write:

(setq ps-top-margin 5)

, which is much more tiny and simple.  I wish something similar in this case.

Bye
Rodolfo


reply via email to

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