From: Eli Zaretskii Date: Sat, 13 Apr 2024 11:20:16 +0000 (+0300) Subject: ; Fix documentation of last change. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c4235fc4b18eb850c07b67a31b26a4265171520;p=emacs.git ; Fix documentation of last change. * etc/NEWS: * doc/lispref/display.texi (Other Display Specs): * doc/lispref/text.texi (Special Properties): Fix last changes. (cherry picked from commit 952f20fabe76c087aa96645389cfd4786fc95380) --- diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 88fdbe547f7..df84630a721 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -5530,7 +5530,7 @@ colors are to be used for the bitmap display. @xref{Fringe Bitmaps}, for the details. It also possible to add context help for fringe bitmaps through the -@code{show-help-function} mechanism by using @code{left-fringe-help} or +@code{show-help-function} mechanism by using @code{left-fringe-help} and @code{right-fringe-help} text properties (@pxref{Special Properties}). @item (space-width @var{factor}) diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index a12629904b4..b322b9d4754 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -3669,11 +3669,12 @@ through @code{substitute-command-keys}. @item left-fringe-help @itemx right-fringe-help @cindex help-echo text on fringes -If any visible text of a buffer line has @code{left-fringe-help} or -@code{right-fringe-help} string text property defined on it, then the -string will be displayed for a corresponding line's fringe through -@code{show-help-function} (@pxref{Help display}). This is useful when -used together with fringe cursors and bitmaps (@pxref{Fringes}). +If any visible text of a screen line has the @code{left-fringe-help} or +@code{right-fringe-help} text property whose value is a string, then +that string will be displayed when the mouse pointer hovers over the +corresponding line's fringe through @code{show-help-function} +(@pxref{Help display}). This is useful when used together with fringe +cursors and bitmaps (@pxref{Fringes}). @item keymap @cindex keymap of character diff --git a/etc/NEWS b/etc/NEWS index e1b5200ddfc..aedf0806dc8 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1988,8 +1988,9 @@ the Info node "(elisp) Handling Errors". +++ ** Tooltips on fringes. It is now possible to provide tooltips on fringes by adding special text -properties. See the "Special Properties" Info node in the Emacs Lisp -Reference Manual. +properties 'left-fringe-help' and 'right-fringe-help'. See the "Special +Properties" Info node in the Emacs Lisp Reference Manual for more +details. +++ ** New 'pop-up-frames' action alist entry for 'display-buffer'. diff --git a/src/window.c b/src/window.c index fe26311fbb2..0945b244319 100644 --- a/src/window.c +++ b/src/window.c @@ -5407,13 +5407,13 @@ shrink_mini_window (struct window *w) eassert (MINI_WINDOW_P (w)); + FRAME_WINDOWS_FROZEN (f) = false; if (delta > 0) { Lisp_Object root = FRAME_ROOT_WINDOW (f); struct window *r = XWINDOW (root); Lisp_Object grow; - FRAME_WINDOWS_FROZEN (f) = false; grow = call3 (Qwindow__resize_root_window_vertically, root, make_fixnum (delta), Qt);