unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* customize-save-variable: fails to update state?
@ 2013-12-26 17:46 T.V. Raman
  0 siblings, 0 replies; only message in thread
From: T.V. Raman @ 2013-12-26 17:46 UTC (permalink / raw)
  To: emacs-devel

If you have a defcustom  e.g.
(defcustom test-string "foo" ...)
and if within a function you do
(setq test-string "bar" )
(customize-save-variable 'test-string test-string)

the updated value gets written to the customization file
correctly.

However  if  you then invoke customize-variable test-string,
the customization buffer reflects the changed value, but not the
saved state -- state shows as "changed".

If you kill the customization buffer, reload the  .custom file,
and then invoke customize-variable, the state is reflected correctly.
-- 

--



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-26 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-26 17:46 customize-save-variable: fails to update state? T.V. Raman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).