aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2012-11-05 20:42:17 -0500
committerGlenn Morris2012-11-05 20:42:17 -0500
commitebdbfb953591230bf217151535211af5a300ee3c (patch)
treee750f2a872919270c65adb7f23a7ffda59ea8e41 /etc
parent6b3770fb9dd180abbda32383eba5e961e76d7504 (diff)
downloademacs-ebdbfb953591230bf217151535211af5a300ee3c.tar.gz
emacs-ebdbfb953591230bf217151535211af5a300ee3c.zip
Add some documentation on defining new generalized variables
* doc/lispref/variables.texi (Setting Generalized Variables): Split most of previous contents into this subsection. (Adding Generalized Variables): New subsection. * doc/lispref/elisp.texi: Add Generalized Variables subsections to detailed menu. * etc/NEWS: Mention some gv.el macros by name.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4f8b56cb363..c9c68513a8b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -783,6 +783,8 @@ systems), or based on memory allocations.
783 783
784** CL-style generalized variables are now in core Elisp. 784** CL-style generalized variables are now in core Elisp.
785`setf' is autoloaded; `push' and `pop' accept generalized variables. 785`setf' is autoloaded; `push' and `pop' accept generalized variables.
786You can define your own generalized variables using `gv-define-simple-setter',
787`gv-define-setter', etc.
786 788
787+++ 789+++
788** `defun' also accepts a (declare DECLS) form, like `defmacro'. 790** `defun' also accepts a (declare DECLS) form, like `defmacro'.