; Fix last change (bug#76980)
* lisp/window.el (window--state-normalize-buffer-name): Doc fix. * doc/lispref/windows.texi (Window Configurations): Add indexing.
This commit is contained in:
parent
4266514dc8
commit
42e116bb10
2 changed files with 2 additions and 1 deletions
|
@ -7001,6 +7001,7 @@ Together, the argument @var{writable} and the variable
|
|||
@code{window-persistent-parameters} specify which window parameters are
|
||||
saved by this function. @xref{Window Parameters}.
|
||||
|
||||
@vindex window-state-normalize-buffer-name
|
||||
Bind @code{window-state-normalize-buffer-name} to non-@code{nil} to
|
||||
normalize buffer names under @file{uniquify} management by removing its
|
||||
prefixes and suffixes. This helps restore window buffers across Emacs
|
||||
|
|
|
@ -6308,7 +6308,7 @@ specific buffers."
|
|||
(defun window--state-normalize-buffer-name (buffer)
|
||||
"Normalize BUFFER name, accommodating `uniquify'.
|
||||
If BUFFER is under `uniquify' management, return its `buffer-name' with
|
||||
its prefixes and suffixes removed; otherwise return BUFFER
|
||||
its prefixes and suffixes removed; otherwise return BUFFER's
|
||||
`buffer-name'."
|
||||
(or (and window-state-normalize-buffer-name
|
||||
(fboundp 'uniquify-buffer-base-name)
|
||||
|
|
Loading…
Add table
Reference in a new issue