diff options
| author | Eli Zaretskii | 2024-11-02 08:34:42 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-11-02 08:34:42 -0400 |
| commit | 9bc6362d6e43e99cfe2dea8748e29e63c65985c0 (patch) | |
| tree | 147ec9ea92222a38833cb0cef79ef567d14df682 /doc | |
| parent | 74d3232522f762742e9acaf9e62b9fd6d63ae380 (diff) | |
| parent | 98796f95fa5ce7c38074429517c477cd01b0be37 (diff) | |
| download | emacs-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.texi | 1 | ||||
| -rw-r--r-- | doc/lispref/functions.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/symbols.texi | 10 |
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 |
| 4762 | plain text. It is possible for selection data to encompass images or | 4763 | plain 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 |
| 1511 | This returns the object in the function cell of @var{symbol}. It does | 1511 | This returns the object in the function cell of @var{symbol}. It does |
| 1512 | not check that the returned object is a legitimate function. | 1512 | not check that the returned object is a legitimate function. |
| 1513 | 1513 | If the function is void, the return value is @code{nil}. | |
| 1514 | If the function cell is void, the return value is @code{nil}. It is | ||
| 1515 | impossible to distinguish between a function cell that is void and one | ||
| 1516 | set 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 |
| 1537 | that that symbol's function cell is @dfn{void}. In other words, the | 1534 | cell contains the default value @code{nil} and we say |
| 1538 | function cell does not have any Lisp object in it. If you try to call | 1535 | that that function is @dfn{void}. If you try to call |
| 1539 | the symbol as a function, Emacs signals a @code{void-function} error. | 1536 | the 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 | |||
| 100 | property list. To get a symbol's property list, use the function | 100 | property 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 |
| 104 | that the cell does not reference any object. (This is not the same | 104 | reference any object. (This is not the same thing as holding the symbol |
| 105 | thing 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 |
| 106 | symbol @code{nil}.) Examining a function or value cell that is void | 106 | a value cell that is void results in an error, such as @samp{Symbol's |
| 107 | results in an error, such as @samp{Symbol's value as variable is void}. | 107 | value 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 |
| 110 | names and function names do not conflict. For example, the symbol | 110 | names and function names do not conflict. For example, the symbol |