unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: doc problems with defcustom
Date: Tue, 8 Jun 2004 20:02:09 +0900 (JST)	[thread overview]
Message-ID: <200406081102.UAA08715@etlken.m17n.org> (raw)
In-Reply-To: <20040608101857.9673.JMBARRANQUERO@wke.es> (message from Juanma Barranquero on Tue, 08 Jun 2004 10:25:38 +0200)

In article <20040608101857.9673.JMBARRANQUERO@wke.es>, Juanma Barranquero <jmbarranquero@wke.es> writes:
> Which is the right way to set such a variable in .emacs (for those of us
> who don't want to use customize)?

>  (customize-set-variable 'pc-selection-mode t)

Oops, I didn't know about this function.

By the way, the docstring contains this sentence:
	value is a Lisp object.
but I think it's not necessary because we can't have
anything other than Lisp object.

Miles Bader <miles@lsi.nec.co.jp> writes:
> No, just use the associated function, e.g., (pc-selection-mode t)

> The issue is really independent of customize; some modes need setup to
> be done, and the way you do it these days is by calling the mode function.

For minor-mode variables, what's the difference between
customize-set-variable and the associated function?

---
Ken'ichi HANDA
handa@m17n.org

  parent reply	other threads:[~2004-06-08 11:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08  5:30 doc problems with defcustom Werner LEMBERG
2004-06-08  6:52 ` Miles Bader
2004-06-08  6:58   ` Werner LEMBERG
2004-06-08  7:59     ` Kim F. Storm
2004-06-08  8:25       ` Juanma Barranquero
2004-06-08  9:23         ` Miles Bader
2004-06-08  9:33           ` David Kastrup
2004-06-08  9:35         ` Per Abrahamsen
2004-06-08 11:02         ` Kenichi Handa [this message]
2004-06-08 10:20       ` Kenichi Handa
2004-06-08 10:49         ` Stephan Stahl
2004-06-09  1:15         ` Miles Bader
2004-06-08 23:31       ` Richard Stallman
2004-06-08 23:31     ` Richard Stallman
2004-06-09  5:18       ` Werner LEMBERG
2004-06-10  6:55         ` 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=200406081102.UAA08715@etlken.m17n.org \
    --to=handa@m17n.org \
    --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 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).