aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2024-11-02 08:34:42 -0400
committerEli Zaretskii2024-11-02 08:34:42 -0400
commit9bc6362d6e43e99cfe2dea8748e29e63c65985c0 (patch)
tree147ec9ea92222a38833cb0cef79ef567d14df682 /doc
parent74d3232522f762742e9acaf9e62b9fd6d63ae380 (diff)
parent98796f95fa5ce7c38074429517c477cd01b0be37 (diff)
downloademacs-9bc6362d6e43e99cfe2dea8748e29e63c65985c0.tar.gz
emacs-9bc6362d6e43e99cfe2dea8748e29e63c65985c0.zip
Merge from origin/emacs-30
98796f95fa5 Work on proced-tests.el 8a4d13e370c ; * doc/lispref/frames.texi (Yanking Media): Add index en... 0aae02a3741 * lisp/files.el (require-with-check): Be a bit more lenie... cc6a11f4832 (with-peg-rules): Fix references to rulesets (bug#74018) 70f084db2ff ; * etc/NEWS: Fix typo (bug#74066). 9e1abf11fc1 Tweak doc w.r.t to "void function" (bug#73886) 7a8ca202c5e Fix flakey proced refine tests (Bug#73441) 55a8cec013e Another 'void' update
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/frames.texi1
-rw-r--r--doc/lispref/functions.texi11
-rw-r--r--doc/lispref/symbols.texi10
3 files changed, 10 insertions, 12 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index edeba3288fc..1b463eb51e5 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -4757,6 +4757,7 @@ to encoding or decoding by any coding system.
4757 4757
4758@node Yanking Media 4758@node Yanking Media
4759@section Yanking Media 4759@section Yanking Media
4760@cindex yank media from window-system selections
4760 4761
4761 Data saved within window system selections is not restricted to 4762 Data saved within window system selections is not restricted to
4762plain text. It is possible for selection data to encompass images or 4763plain text. It is possible for selection data to encompass images or
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index db2c4197144..bf80a21ee9f 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1510,10 +1510,7 @@ indirect-function}.
1510@kindex void-function 1510@kindex void-function
1511This returns the object in the function cell of @var{symbol}. It does 1511This returns the object in the function cell of @var{symbol}. It does
1512not check that the returned object is a legitimate function. 1512not check that the returned object is a legitimate function.
1513 1513If the function is void, the return value is @code{nil}.
1514If the function cell is void, the return value is @code{nil}. It is
1515impossible to distinguish between a function cell that is void and one
1516set to @code{nil}.
1517 1514
1518@example 1515@example
1519@group 1516@group
@@ -1533,9 +1530,9 @@ set to @code{nil}.
1533@end defun 1530@end defun
1534 1531
1535@cindex void function cell 1532@cindex void function cell
1536 If you have never given a symbol any function definition, we say 1533 If you have never given a symbol any function definition, its function
1537that that symbol's function cell is @dfn{void}. In other words, the 1534cell contains the default value @code{nil} and we say
1538function cell does not have any Lisp object in it. If you try to call 1535that that function is @dfn{void}. If you try to call
1539the symbol as a function, Emacs signals a @code{void-function} error. 1536the symbol as a function, Emacs signals a @code{void-function} error.
1540 1537
1541 Unlike with void variables (@pxref{Void Variables}), a symbol's 1538 Unlike with void variables (@pxref{Void Variables}), a symbol's
diff --git a/doc/lispref/symbols.texi b/doc/lispref/symbols.texi
index c76bf3d3820..c3dc08df2df 100644
--- a/doc/lispref/symbols.texi
+++ b/doc/lispref/symbols.texi
@@ -100,11 +100,11 @@ the contents of a symbol's function cell, use the function
100property list. To get a symbol's property list, use the function 100property list. To get a symbol's property list, use the function
101@code{symbol-plist}. @xref{Symbol Properties}. 101@code{symbol-plist}. @xref{Symbol Properties}.
102 102
103 The function cell or the value cell may be @dfn{void}, which means 103 The value cell may be @dfn{void}, which means that the cell does not
104that the cell does not reference any object. (This is not the same 104reference any object. (This is not the same thing as holding the symbol
105thing as holding the symbol @code{void}, nor the same as holding the 105@code{void}, nor the same as holding the symbol @code{nil}.) Examining
106symbol @code{nil}.) Examining a function or value cell that is void 106a value cell that is void results in an error, such as @samp{Symbol's
107results in an error, such as @samp{Symbol's value as variable is void}. 107value as variable is void}.
108 108
109 Because each symbol has separate value and function cells, variables 109 Because each symbol has separate value and function cells, variables
110names and function names do not conflict. For example, the symbol 110names and function names do not conflict. For example, the symbol