From: "Drew Adams" <drew.adams@oracle.com>
Subject: how to make-variable-buffer-local using only defcustom?
Date: Thu, 21 Apr 2005 11:10:08 -0700 [thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBEEIPCKAA.drew.adams@oracle.com> (raw)
Is there a way, using only defcustom, to `make-variable-buffer-local'?
That is, instead of doing a defcustom plus a make-variable-buffer-local, is
there a keyword (:local perhaps?) or some other way to indicate to defcustom
that the variable is to always be buffer-local? For example, instead of
this:
(defcustom foo t "*If nil, then..."
:type 'boolean :group 'foobar)
(make-variable-buffer-local 'setnu+-fit-frame)
can you do something like this:
(defcustom foo t "*If nil, then..."
:type 'boolean :local t :group 'foobar)
next reply other threads:[~2005-04-21 18:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 18:10 Drew Adams [this message]
[not found] <mailman.2443.1114107256.2895.help-gnu-emacs@gnu.org>
2005-04-21 19:00 ` how to make-variable-buffer-local using only defcustom? David Kastrup
2005-04-21 20:09 ` Drew Adams
2005-05-01 23:51 ` Stefan Monnier
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=MEEKKIABFKKDFJMPIOEBEEIPCKAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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.
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).