emacs-diffs
[Top][All Lists]
Advanced

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

master 9856290806: Mention frame-text-* function in frame-pixel-* doc st


From: Lars Ingebrigtsen
Subject: master 9856290806: Mention frame-text-* function in frame-pixel-* doc strings
Date: Thu, 24 Mar 2022 05:00:16 -0400 (EDT)

branch: master
commit 9856290806a449d35380135adabd607b6612dd98
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Mention frame-text-* function in frame-pixel-* doc strings
    
    * src/frame.c (Fframe_native_width, Fframe_native_height): Link to
    `frame-text-*' functions.
---
 src/frame.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/frame.c b/src/frame.c
index 8f8df8f8e0..e531891a8a 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3495,7 +3495,10 @@ DEFUN ("frame-native-width", Fframe_native_width,
        Sframe_native_width, 0, 1, 0,
        doc: /* Return FRAME's native width in pixels.
 For a terminal frame, the result really gives the width in characters.
-If FRAME is omitted or nil, the selected frame is used.  */)
+If FRAME is omitted or nil, the selected frame is used.
+
+If you're interested only in the width of the text portion of the
+frame, see `frame-text-width' instead.  */)
   (Lisp_Object frame)
 {
   struct frame *f = decode_any_frame (frame);
@@ -3519,6 +3522,9 @@ minibuffer or echo area), mode line, and header line.  It 
does not
 include the tool bar or menu bar.  With other graphical versions, it may
 also include the tool bar and the menu bar.
 
+If you're interested only in the height of the text portion of the
+frame, see `frame-text-height' instead.
+
 For a text terminal, it includes the menu bar.  In this case, the
 result is really in characters rather than pixels (i.e., is identical
 to `frame-height'). */)



reply via email to

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