aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-08-23 20:15:49 +0200
committerStefan Kangas2022-08-23 20:18:24 +0200
commit83b6da31f3cc0ea5bdcd8332596f5f42e4a6296b (patch)
treebf83bb14eafb43405d0f8e9da79e5463c216de9f
parentb48bf42fc208281ba549f28d7a26d44713b34863 (diff)
downloademacs-83b6da31f3cc0ea5bdcd8332596f5f42e4a6296b.tar.gz
emacs-83b6da31f3cc0ea5bdcd8332596f5f42e4a6296b.zip
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.
-rw-r--r--doc/lispref/variables.texi25
-rw-r--r--doc/misc/cl.texi18
2 files changed, 15 insertions, 28 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index ed119a709c5..b7b4f56212f 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -2679,16 +2679,21 @@ cdar nthcdr
2679A call to any of the following Emacs-specific functions: 2679A call to any of the following Emacs-specific functions:
2680 2680
2681@smallexample 2681@smallexample
2682alist-get process-get 2682alist-get overlay-get
2683frame-parameter process-sentinel 2683face-background overlay-start
2684terminal-parameter window-buffer 2684face-font overlay-end
2685keymap-parent window-display-table 2685face-foreground process-buffer
2686match-data window-dedicated-p 2686face-stipple process-filter
2687overlay-get window-hscroll 2687face-underline-p process-get
2688overlay-start window-parameter 2688file-modes process-sentinel
2689overlay-end window-point 2689frame-parameter window-buffer
2690process-buffer window-start 2690frame-parameters window-display-table
2691process-filter default-value 2691frame-width window-dedicated-p
2692get-register window-hscroll
2693getenv window-parameter
2694terminal-parameter window-point
2695keymap-parent window-start
2696match-data default-value
2692@end smallexample 2697@end smallexample
2693@end itemize 2698@end itemize
2694 2699
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 847f5a35f9a..be286bbabcd 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -921,21 +921,6 @@ Note that for @code{cl-getf} (as for @code{nthcdr}), the list argument
921of the function must itself be a valid @var{place} form. 921of the function must itself be a valid @var{place} form.
922 922
923@item 923@item
924General Emacs Lisp functions:
925@example
926current-case-table file-modes
927face-background getenv
928face-font frame-parameters
929face-foreground frame-width
930face-stipple get-register
931face-underline-p x-get-selection
932@end example
933
934Most of these have directly corresponding ``set'' functions, like
935@code{set-face-foreground} for @code{face-foreground}, or
936@code{set-case-table} for @code{current-case-table}.
937
938@item
939A call of the form @code{(substring @var{subplace} @var{n} [@var{m}])}, 924A call of the form @code{(substring @var{subplace} @var{n} [@var{m}])},
940where @var{subplace} is itself a valid generalized variable whose 925where @var{subplace} is itself a valid generalized variable whose
941current value is a string, and where the value stored is also a 926current value is a string, and where the value stored is also a
@@ -957,9 +942,6 @@ a
957 @result{} ("hello" "wood") 942 @result{} ("hello" "wood")
958@end example 943@end example
959 944
960The generalized variable @code{buffer-substring}, listed above,
961also works in this way by replacing a portion of the current buffer.
962
963@c FIXME? Also 'eq'? (see cl-lib.el) 945@c FIXME? Also 'eq'? (see cl-lib.el)
964 946
965@c Currently commented out in cl.el. 947@c Currently commented out in cl.el.