mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; Improve documentation of incf and decf
* doc/lispref/variables.texi (Setting Generalized Variables): Mention incf and decf. * lisp/emacs-lisp/gv.el (incf, decf): Add references to Info manual documentation on generalized variables.
This commit is contained in:
parent
1fca171add
commit
03053baebe
2 changed files with 12 additions and 2 deletions
|
|
@ -2920,6 +2920,10 @@ the list stored in @var{place}. It is analogous to @code{(setf
|
|||
subforms. Note that @code{push} and @code{pop} on an @code{nthcdr}
|
||||
place can be used to insert or delete at any position in a list.
|
||||
|
||||
Similarly, the macros @code{incf} and @code{decf} (@pxref{Arithmetic
|
||||
Operations}) can be used to increment or decrement generalized
|
||||
variables that are numbers.
|
||||
|
||||
The @file{cl-lib} library defines various extensions for generalized
|
||||
variables, including additional @code{setf} places.
|
||||
@xref{Generalized Variables,,, cl, Common Lisp Extensions}.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue