diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-12-31 06:39:47 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-12-31 06:45:08 +0100 |
| commit | 28a1e8e377fb2884c7dbc564f6fed1e65a33f8ba (patch) | |
| tree | 5c927122b1400b547b623a1b901b1a55a2ad89ef /compat.texi | |
| parent | 10e6509878001c77bb5a00b51b33210c3347db97 (diff) | |
compat-30: Add find-buffer and get-truename-buffer
Diffstat (limited to 'compat.texi')
| -rw-r--r-- | compat.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compat.texi b/compat.texi index 95c9257..696418b 100644 --- a/compat.texi +++ b/compat.texi @@ -3348,6 +3348,17 @@ older than 30.1. Note that due to upstream changes, it might happen that there will be the need for changes, so use these functions with care. +@defun get-truename-buffer filename +Return the buffer with @code{file-truename} equal to @var{filename} (a string). +If there is no such live buffer, return nil. +See also @code{find-buffer-visiting}. +@end defun + +@defun find-buffer variable value +Return the buffer with buffer-local @var{variable} equal to @var{value}. +If there is no such live buffer, return nil. +@end defun + @c copied from lispref/loading.texi @defun require-with-check feature &optional filename noerror This function works like @code{require}, except if @var{feature} is |
