unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: herberteuler@hotmail.com, emacs-devel@gnu.org
Subject: Re: Customization problem
Date: Sat, 04 Nov 2006 01:36:53 -0500	[thread overview]
Message-ID: <E1GgF9B-0003JQ-5e@fencepost.gnu.org> (raw)
In-Reply-To: <EIENLHALHGIMHGDOLMIMKEGICMAA.drew.adams@oracle.com>

    In this case, a third-party library uses `custom-set-variable'. This is done
    via `kill-emacs-hook' using this function:

    (defun icicle-control-reminder-prompt ()
      "If `icicle-reminder-prompt-flag' > 0, then decrement it and save it.
    Used in `kill-emacs-hook'."
      (when (and (wholenump icicle-reminder-prompt-flag)
	    (> icicle-reminder-prompt-flag 0))
	(condition-case nil
	    (customize-save-variable
	      'icicle-reminder-prompt-flag
	      (1- icicle-reminder-prompt-flag))
	  (error nil))))

It uses customize-save-variable.  It does not (that I can see)
use custom-set-variable.  custom-set-variable is only supposed
to be used in the user's custom file.

  reply	other threads:[~2006-11-04  6:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-27  3:45 Customization problem Herbert Euler
2006-10-27 13:33 ` Richard Stallman
2006-10-28  2:01   ` Herbert Euler
2006-10-28 18:13     ` Richard Stallman
2006-10-29 13:08       ` Herbert Euler
2006-10-30 13:33         ` Richard Stallman
2006-10-31 12:35           ` Herbert Euler
2006-11-02 21:47             ` Richard Stallman
2006-11-02 22:26               ` Drew Adams
2006-11-04  6:36                 ` Richard Stallman [this message]
2006-11-04 15:32                   ` Drew Adams
2006-11-05 19:22                     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1GgF9B-0003JQ-5e@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=herberteuler@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).