emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customize is only for newbies? [was: use-package.el -> Emacs core]


From: Drew Adams
Subject: Customize is only for newbies? [was: use-package.el -> Emacs core]
Date: Tue, 10 Nov 2015 07:08:03 -0800 (PST)

> > It also makes sure that any followup actions
> > necessary after setting the variables are being performed.
> 
> Sure, :set is kind of a custom(er) lock-in.

Dunno whether that was supposed to be a joke.

:set is a hook for variables.  It runs code whenever
the variable is set.  That's a feature that you can
use in your programming.  It doesn't lock anyone into
anything.

We should have :set, :type etc. available for defvar
as well as defcustom, IMHO.

(Someone will no doubt chime in now about advising variables.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]