emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: emacs customization suggestion: 'customize-existing'


From: Kim F. Storm
Subject: Re: address@hidden: emacs customization suggestion: 'customize-existing']
Date: 07 Feb 2004 00:40:41 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Daniel Ortmann <address@hidden> writes:

> Can this be extended to handle the customization settings in a system
> wide way?
>

What about adding this to your .emacs file:

(setq custom-file
     (if at-home-p "~/.emacs.custom.home" "~/.emacs.custom.work"))

(load custom-file)

 
> 
> address@hidden (Kim F. Storm) writes:
> 
> > 
> > (setq at-home-p
> >       (if (fboundp 'network-interface-info)
> >       (let* ((info (network-interface-info "eth0"))
> >              (ip (and info (car info))))
> >         (and ip
> >              (= (aref ip 0) 10)
> >              (= (aref ip 1) 22)
> >              (= (aref ip 2) 33)))))
> > 

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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