emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 899ea79310d: In window-related documentation write 'symbol' inste


From: Martin Rudalics
Subject: master 899ea79310d: In window-related documentation write 'symbol' instead of 'constant'
Date: Sat, 16 Mar 2024 05:11:30 -0400 (EDT)

branch: master
commit 899ea79310d1b8ed78c3fd8ac1784043dd732dbf
Author: Martin Rudalics <rudalics@gmx.at>
Commit: Martin Rudalics <rudalics@gmx.at>

    In window-related documentation write 'symbol' instead of 'constant'
    
    Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
    
    * src/window.c (window_restore_killed_buffer_windows): In
    doc-string write 'symbol' instead of 'constant'.
    * lisp/window.el (display-buffer--lru-window)
    (display-buffer-use-least-recent-window): In doc-strings write
    'symbol' instead of 'constant'.
    * doc/lispref/windows.texi (Window Configurations): Write
    'symbol' instead of 'constant'.
---
 doc/lispref/windows.texi | 4 ++--
 lisp/window.el           | 8 ++++----
 src/window.c             | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 8fa4e57b153..2e2fdee422b 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -6416,9 +6416,9 @@ on its frame), @code{set-window-configuration} and
 
 If the value of this variable is a function, that function should take
 three arguments.  The first argument specifies the frame whose windows
-have been restored.  The third argument is either the constant
+have been restored.  The third argument is either the symbol
 @code{configuration} if the windows are restored by
-@code{set-window-configuration}, or the constant @code{state} if the
+@code{set-window-configuration}, or the symbol @code{state} if the
 windows are restored by @code{window-state-put}.
 
 The second argument specifies a list of entries for @emph{all} windows
diff --git a/lisp/window.el b/lisp/window.el
index 246708dbd56..df55a7ca673 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -8668,11 +8668,11 @@ buffer.  ALIST is a buffer display action alist as 
compiled by
   use time is higher than this.
 
 - `window-min-width' specifies a preferred minimum width in
-  canonical frame columns.  If it is the constant `full-width',
+  canonical frame columns.  If it is the symbol `full-width',
   prefer a full-width window.
 
 - `window-min-height' specifies a preferred minimum height in
-  canonical frame lines.  If it is the constant `full-height',
+  canonical frame lines.  If it is the symbol `full-height',
   prefer a full-height window.
 
 If ALIST contains a non-nil `inhibit-same-window' entry, do not
@@ -8799,11 +8799,11 @@ Distinctive features are:
     call.
 
   `window-min-width' specifies a preferred minimum width in
-    canonical frame columns.  If it is the constant `full-width',
+    canonical frame columns.  If it is the symbol `full-width',
     prefer a full-width window.
 
   `window-min-height' specifies a preferred minimum height in
-    canonical frame lines.  If it is the constant `full-height',
+    canonical frame lines.  If it is the symbol `full-height',
     prefer a full-height window.
 
 - If the preceding steps fail, try to pop up a new window on the
diff --git a/src/window.c b/src/window.c
index 2c002418605..b69f4719d93 100644
--- a/src/window.c
+++ b/src/window.c
@@ -8707,8 +8707,8 @@ on its frame), show another buffer in it.
 
 If the value is a function, it should take three arguments.  The first
 argument specifies the frame whose windows have been restored.  The
-third argument is the constant `configuration' if the windows are
-restored by `set-window-configuration' and the constant `state' if the
+third argument is the symbol `configuration' if the windows are
+restored by `set-window-configuration' and the symbol `state' if the
 windows are restored by `window-state-put'.
 
 The second argument specifies a list of entries for all windows



reply via email to

[Prev in Thread] Current Thread [Next in Thread]