all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to make-variable-buffer-local using only defcustom?
@ 2005-04-21 18:10 Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2005-04-21 18:10 UTC (permalink / 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)

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.2443.1114107256.2895.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2005-05-01 23:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 18:10 how to make-variable-buffer-local using only defcustom? Drew Adams
     [not found] <mailman.2443.1114107256.2895.help-gnu-emacs@gnu.org>
2005-04-21 19:00 ` David Kastrup
2005-04-21 20:09   ` Drew Adams
2005-05-01 23:51 ` Stefan Monnier

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.