]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 'etc/DOC' for a few functions/variables
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Mar 2025 13:45:33 +0000 (15:45 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 21:06:21 +0000 (22:06 +0100)
* src/term.c (Ftty_frame_at):
* src/menu.c (syms_of_menu) <x-popup-menu-function>:
* src/dispnew.c (Fredisplay): Fix "doc:".  The extra blank was
preventing 'make-docfile' from recognizing the functions and
variables and extracting their documentation to 'etc/DOC'.
(Bug#76722)

(cherry picked from commit a382bfdfa4b8692bcb971eec1516e37a58b3fc2f)

src/dispnew.c
src/menu.c
src/term.c

index 3bbc87f87115a783662c942da232b6177f67ab30..9b94ba1bdf003f28c933a4f06c80245b8940dd46 100644 (file)
@@ -6945,7 +6945,7 @@ sit_for (Lisp_Object timeout, bool reading, int display_option)
 
 
 DEFUN ("redisplay", Fredisplay, Sredisplay, 0, 1, 0,
-       doc : /* Perform redisplay.
+       doc: /* Perform redisplay.
 Optional arg FORCE exists for historical reasons and is ignored.
 Value is t if redisplay has been performed, nil if executing a
 keyboard macro.  */)
index d98135afbfd26389881d0eddc0e088326798f376..ec6b9286982d7980de1f390d7010f964f97a439f 100644 (file)
@@ -1628,7 +1628,7 @@ won't be run if `x-popup-menu' fails or returns for some other reason
   Vx_pre_popup_menu_hook = Qnil;
 
   DEFVAR_LISP ("x-popup-menu-function", Vx_popup_menu_function,
-              doc : /* Function to call to pop up a menu.
+              doc: /* Function to call to pop up a menu.
  The function is called like `x-popup-menu'.  This is currently only
  used for frames on text terminals.  */);
   Vx_popup_menu_function = Qnil;
index cd4c1f45426b3b3fbc083b51645859eaff752699..6990978ecfb6963fcd205add5f5a46566f941aa6 100644 (file)
@@ -2673,7 +2673,7 @@ tty_frame_at (int x, int y, int *cx, int *cy)
 }
 
 DEFUN ("tty-frame-at", Ftty_frame_at, Stty_frame_at, 2, 2, 0,
-       doc : /* Return tty frame containing absolute pixel position (X, Y).
+       doc: /* Return tty frame containing absolute pixel position (X, Y).
 Value is nil if no frame found.  Otherwise it is a list (FRAME CX CY),
 where FRAME is the frame containing (X, Y) and CX and CY are X and Y
 relative to FRAME.  */)