]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change (bug#76980)
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Mar 2025 12:14:22 +0000 (14:14 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Mar 2025 19:25:21 +0000 (20:25 +0100)
* lisp/window.el (window--state-normalize-buffer-name): Doc fix.

* doc/lispref/windows.texi (Window Configurations): Add indexing.

(cherry picked from commit 42e116bb1095f47cd0d57bbb6ee7b73d2d9f506e)

doc/lispref/windows.texi
lisp/window.el

index 1ebf84c3261a2f5143e2d72fa1dc21ccc1f21e16..417c323be6bcef554e0c881509f0d12ce0db2864 100644 (file)
@@ -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
index 4598b8ce3e2f1b2a195e51964a163b417eadefe6..fc353f0fd757249b0e0b18b8f90c137d8100d14a 100644 (file)
@@ -6256,7 +6256,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)