On Sat, Apr 16 2005, Stefan Monnier wrote: > In 99% of the cases, people want their Emacs to behave the same on all their > machines, so the config should be the same, no matter whether it's > GNU/Linux, w32, uses window-system, ... > > What can happen, tho, is that depending on the machine some things may or > may not be available. In that case just prepend each such customization > with a little test that ensures that feature can be used. > This test will generally not look at system-type or window-system, but will > instead check (fboundp <somefunctionIwanttouse), or (file-directory-p > "somedirectoryIwanttouse"), or even place a whole subexpression inside > a (ignore-errors ...my config...).
It would be nice to have something like this text in (info "(emacs)Init Examples") along with some examples. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/ _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs