1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

Move generalized variable docs to elisp manual

* doc/misc/cl.texi (Setf Extensions): Delete documentation on obsolete
generalized variable 'buffer-substring'.  Move documentation on
generalized variables from here...
* doc/lispref/variables.texi (Setting Generalized Variables):
...to here.  These variables have already been moved to gv.el.
This commit is contained in:
Stefan Kangas 2022-08-23 20:15:49 +02:00
parent b48bf42fc2
commit 83b6da31f3
2 changed files with 15 additions and 28 deletions

View file

@ -2679,16 +2679,21 @@ cdar nthcdr
A call to any of the following Emacs-specific functions:
@smallexample
alist-get process-get
frame-parameter process-sentinel
terminal-parameter window-buffer
keymap-parent window-display-table
match-data window-dedicated-p
overlay-get window-hscroll
overlay-start window-parameter
overlay-end window-point
process-buffer window-start
process-filter default-value
alist-get overlay-get
face-background overlay-start
face-font overlay-end
face-foreground process-buffer
face-stipple process-filter
face-underline-p process-get
file-modes process-sentinel
frame-parameter window-buffer
frame-parameters window-display-table
frame-width window-dedicated-p
get-register window-hscroll
getenv window-parameter
terminal-parameter window-point
keymap-parent window-start
match-data default-value
@end smallexample
@end itemize

View file

@ -920,21 +920,6 @@ cl-caaar@dots{}cl-cddddr cl-first@dots{}cl-tenth
Note that for @code{cl-getf} (as for @code{nthcdr}), the list argument
of the function must itself be a valid @var{place} form.
@item
General Emacs Lisp functions:
@example
current-case-table file-modes
face-background getenv
face-font frame-parameters
face-foreground frame-width
face-stipple get-register
face-underline-p x-get-selection
@end example
Most of these have directly corresponding ``set'' functions, like
@code{set-face-foreground} for @code{face-foreground}, or
@code{set-case-table} for @code{current-case-table}.
@item
A call of the form @code{(substring @var{subplace} @var{n} [@var{m}])},
where @var{subplace} is itself a valid generalized variable whose
@ -957,9 +942,6 @@ a
@result{} ("hello" "wood")
@end example
The generalized variable @code{buffer-substring}, listed above,
also works in this way by replacing a portion of the current buffer.
@c FIXME? Also 'eq'? (see cl-lib.el)
@c Currently commented out in cl.el.