all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: standard-value of display-battery/time-mode
Date: Sat, 18 Feb 2006 18:31:20 -0600 (CST)	[thread overview]
Message-ID: <200602190031.k1J0VKq07514@raven.dms.auburn.edu> (raw)
In-Reply-To: <140BE1D7-45C0-459A-BFD8-6C1C84CFAAE9@gmail.com> (message from David Reitter on Sat, 18 Feb 2006 13:15:31 +0000)

David Reitter wrote:

   (customize-mark-to-save 'display-battery-mode)

   is always t even though now change was made because the standard- 
   value property is nil / not set. It should probably be (nil).

`display-battery-mode' is autoloaded.  This means that it is defined
with `defvar' in loaddefs.el.  The standard-value property remains nil
until the defcustom is evaluated, when it becomes (nil).

   It works fine for, e.g., `show-paren-mode'.

Then your .emacs must load paren.

`emacs -q', then:

ELISP> (get 'show-paren-mode 'standard-value)
nil
ELISP> (load "paren")
t
ELISP> (get 'show-paren-mode 'standard-value)
(nil)

ELISP> 

Sincerely,

Luc.

  reply	other threads:[~2006-02-19  0:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18 13:15 standard-value of display-battery/time-mode David Reitter
2006-02-19  0:31 ` Luc Teirlinck [this message]
2006-02-19 18:37   ` David Reitter
2006-02-19 22:47   ` Richard M. Stallman
2006-02-20  0:50     ` Luc Teirlinck
2006-02-20  1:20       ` Chong Yidong
2006-02-20  3:07         ` Luc Teirlinck
2006-02-20 16:01           ` Chong Yidong

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

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

  git send-email \
    --in-reply-to=200602190031.k1J0VKq07514@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.