aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-12-19 08:03:42 +0200
committerEli Zaretskii2024-12-19 08:03:42 +0200
commit7fc919d51bdc5a7d49f1aef80da12bcd594592df (patch)
tree75fe7ac581584ce53b232bd6533dfd842e229e35
parentc2eda4745be58f296b647b38d101c30027208d16 (diff)
downloademacs-7fc919d51bdc5a7d49f1aef80da12bcd594592df.tar.gz
emacs-7fc919d51bdc5a7d49f1aef80da12bcd594592df.zip
; Fix compilation warnings in term.cscratch/tty-child-frames
* src/term.c (Ftty_frame_geometry, Ftty_frame_edges) (Ftty_frame_list_z_order, Ftty_frame_restack) (Ftty_display_pixel_width, Ftty_display_pixel_height): Doc fixes. (Ftty_frame_restack): Make it "noreturn".
-rw-r--r--src/term.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/term.c b/src/term.c
index 64df5261e50..98d0844d64e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4827,7 +4827,7 @@ tty_frame_geometry (Lisp_Object frame, Lisp_Object attribute)
4827 4827
4828DEFUN ("tty-frame-geometry", Ftty_frame_geometry, Stty_frame_geometry, 0, 1, 0, 4828DEFUN ("tty-frame-geometry", Ftty_frame_geometry, Stty_frame_geometry, 0, 1, 0,
4829 doc: /* Return geometric attributes of terminal frame FRAME. 4829 doc: /* Return geometric attributes of terminal frame FRAME.
4830 See also `frame-geometry'. */) 4830See also `frame-geometry'. */)
4831 (Lisp_Object frame) 4831 (Lisp_Object frame)
4832{ 4832{
4833 return tty_frame_geometry (frame, Qnil); 4833 return tty_frame_geometry (frame, Qnil);
@@ -4835,7 +4835,7 @@ DEFUN ("tty-frame-geometry", Ftty_frame_geometry, Stty_frame_geometry, 0, 1, 0,
4835 4835
4836DEFUN ("tty-frame-edges", Ftty_frame_edges, Stty_frame_edges, 0, 2, 0, 4836DEFUN ("tty-frame-edges", Ftty_frame_edges, Stty_frame_edges, 0, 2, 0,
4837 doc: /* Return coordinates of FRAME's edges. 4837 doc: /* Return coordinates of FRAME's edges.
4838 See also `frame-edges'. */) 4838See also `frame-edges'. */)
4839 (Lisp_Object frame, Lisp_Object type) 4839 (Lisp_Object frame, Lisp_Object type)
4840{ 4840{
4841 if (!EQ (type, Qouter_edges) && !EQ (type, Qinner_edges)) 4841 if (!EQ (type, Qouter_edges) && !EQ (type, Qinner_edges))
@@ -4846,7 +4846,7 @@ DEFUN ("tty-frame-edges", Ftty_frame_edges, Stty_frame_edges, 0, 2, 0,
4846DEFUN ("tty-frame-list-z-order", Ftty_frame_list_z_order, 4846DEFUN ("tty-frame-list-z-order", Ftty_frame_list_z_order,
4847 Stty_frame_list_z_order, 0, 1, 0, 4847 Stty_frame_list_z_order, 0, 1, 0,
4848 doc: /* Return list of Emacs's frames, in Z (stacking) order. 4848 doc: /* Return list of Emacs's frames, in Z (stacking) order.
4849 See also `frame-list-z-order'. */) 4849See also `frame-list-z-order'. */)
4850 (Lisp_Object frame) 4850 (Lisp_Object frame)
4851{ 4851{
4852 struct frame *f = decode_tty_frame (frame); 4852 struct frame *f = decode_tty_frame (frame);
@@ -4857,12 +4857,12 @@ DEFUN ("tty-frame-list-z-order", Ftty_frame_list_z_order,
4857DEFUN ("tty-frame-restack", Ftty_frame_restack, 4857DEFUN ("tty-frame-restack", Ftty_frame_restack,
4858 Stty_frame_restack, 2, 3, 0, 4858 Stty_frame_restack, 2, 3, 0,
4859 doc: /* Restack FRAME1 below FRAME2 on terminals. 4859 doc: /* Restack FRAME1 below FRAME2 on terminals.
4860. See also `frame-restack'. */) 4860See also `frame-restack'. */
4861 attributes: noreturn)
4861 (Lisp_Object frame1, Lisp_Object frame2, Lisp_Object above) 4862 (Lisp_Object frame1, Lisp_Object frame2, Lisp_Object above)
4862{ 4863{
4863 /* FIXME/tty: tty-frame-restack implementation. */ 4864 /* FIXME/tty: tty-frame-restack implementation. */
4864 error ("tty-frame-restack is not implemented"); 4865 error ("tty-frame-restack is not implemented");
4865 return Qnil;
4866} 4866}
4867 4867
4868static void 4868static void
@@ -4897,7 +4897,7 @@ tty_display_dimension (Lisp_Object frame, int *width, int *height)
4897DEFUN ("tty-display-pixel-width", Ftty_display_pixel_width, 4897DEFUN ("tty-display-pixel-width", Ftty_display_pixel_width,
4898 Stty_display_pixel_width, 0, 1, 0, 4898 Stty_display_pixel_width, 0, 1, 0,
4899 doc: /* Return the width of DISPLAY's screen in pixels. 4899 doc: /* Return the width of DISPLAY's screen in pixels.
4900. See also `display-pixel-width'. */) 4900See also `display-pixel-width'. */)
4901 (Lisp_Object display) 4901 (Lisp_Object display)
4902{ 4902{
4903 int width, height; 4903 int width, height;
@@ -4908,7 +4908,7 @@ DEFUN ("tty-display-pixel-width", Ftty_display_pixel_width,
4908DEFUN ("tty-display-pixel-height", Ftty_display_pixel_height, 4908DEFUN ("tty-display-pixel-height", Ftty_display_pixel_height,
4909 Stty_display_pixel_height, 0, 1, 0, 4909 Stty_display_pixel_height, 0, 1, 0,
4910 doc: /* Return the height of DISPLAY's screen in pixels. 4910 doc: /* Return the height of DISPLAY's screen in pixels.
4911 See also `display-pixel-height'. */) 4911See also `display-pixel-height'. */)
4912 (Lisp_Object display) 4912 (Lisp_Object display)
4913{ 4913{
4914 int width, height; 4914 int width, height;