[Top][All Lists]

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

Re: Customize buttons that change user's customfileshouldaskforconfirmat

From: Luc Teirlinck
Subject: Re: Customize buttons that change user's customfileshouldaskforconfirmation
Date: Sat, 12 Feb 2005 13:03:47 -0600 (CST)

>From my previous message:

          M-: (setq custom-file "X")
          M-x customize
          do some editing
          save (into X)
          M-: (setq custom-file "Y")
          get (from ?)

          Question is "from X" or "from Y"?

      Good point. I would think it should be Y.

   Absolutely not. `(setq custom-file "Y")' means that you want Custom to
   _write_ to Y.  If you want Y to be read you have to load Y.

Well, it is a little bit more complex than that.  As long as you have
not saved any options through Custom since the `M-: (setq custom-file "Y")'
you should read from X, for the reason given above.  But once you save
new options through Custom, the up to date description of current options
is in Y, not in X.



reply via email to

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