aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-11-07 13:22:10 +0800
committerChong Yidong2012-11-07 13:22:10 +0800
commit7c08f8ba7246ddd20f70e8306f646ac981a64f5a (patch)
treea993781f3c7748d3862c69b94aed6b6ae9f254d1 /etc
parent2ee1d59f5bea4a206595d621dcb63477461b7155 (diff)
downloademacs-7c08f8ba7246ddd20f70e8306f646ac981a64f5a.tar.gz
emacs-7c08f8ba7246ddd20f70e8306f646ac981a64f5a.zip
Document setf-local, defvar-local, and some doc updates for setf.
* doc/lispref/edebug.texi (Specification List): setf is no longer CL-only. * doc/lispref/lists.texi (List Elements, List Variables): Clarify descriptions of push and pop for generalized variables. * doc/lispref/variables.texi (Creating Buffer-Local): Document setq-local and defvar-local. (Setting Generalized Variables): Arrange table alphabetically.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index be5de734636..7023ce5cb98 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -788,6 +788,7 @@ Try M-x profiler-start ... M-x profiler-stop; and then M-x profiler-report.
788The sampling rate can be based on CPU time (only supported on some 788The sampling rate can be based on CPU time (only supported on some
789systems), or based on memory allocations. 789systems), or based on memory allocations.
790 790
791+++
791** CL-style generalized variables are now in core Elisp. 792** CL-style generalized variables are now in core Elisp.
792`setf' is autoloaded; `push' and `pop' accept generalized variables. 793`setf' is autoloaded; `push' and `pop' accept generalized variables.
793You can define your own generalized variables using `gv-define-simple-setter', 794You can define your own generalized variables using `gv-define-simple-setter',
@@ -823,7 +824,7 @@ These do not trigger the debugger.
823*** Set `debug-on-message' to enter the debugger when a certain 824*** Set `debug-on-message' to enter the debugger when a certain
824message is displayed in the echo area. This can be useful when trying 825message is displayed in the echo area. This can be useful when trying
825to work out which code is doing something. 826to work out which code is doing something.
826 827---
827*** New var `inhibit-debugger', automatically set to prevent accidental 828*** New var `inhibit-debugger', automatically set to prevent accidental
828recursive invocations. 829recursive invocations.
829 830
@@ -936,6 +937,7 @@ describing the cycle.
936+++ 937+++
937*** `tty-top-frame' returns the topmost frame of a text terminal. 938*** `tty-top-frame' returns the topmost frame of a text terminal.
938 939
940+++
939** New macros `setq-local' and `defvar-local'. 941** New macros `setq-local' and `defvar-local'.
940 942
941+++ 943+++