From bd04e7deabe504071670b645b7cdbb29f57a845b Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 14 Jul 2006 23:32:14 +0000 Subject: [PATCH] (Antinews): Mention redisplay function. The kbd macro existed, but was not documented, before 22.x. Function pos-visible-in-window-p is not new in 22.x, just enhanced. --- lispref/anti.texi | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/lispref/anti.texi b/lispref/anti.texi index 78152d7ab31..87bf79b64b0 100644 --- a/lispref/anti.texi +++ b/lispref/anti.texi @@ -23,6 +23,12 @@ earlier major release, Emacs 20, will have a completely rewritten redisplay engine, which will be even simpler.) @itemize @minus +@item +The function @code{redisplay} has been removed. To update the display +without delay, call @code{(sit-for 0)}. Since it is generally +considered wasteful to update the display if there are any pending +input events, no replacement for @code{(redisplay t)} is provided. + @item The function @code{force-window-update} has been removed. It shouldn't be needed, since changes in window contents are detected @@ -80,8 +86,8 @@ removed. In @code{defface} specifications, the @code{supports} predicate is no longer supported. @item -@code{face-attribute-relative-p} and @code{merge-face-attribute} have -been removed. +The functions @code{face-attribute-relative-p} and +@code{merge-face-attribute} have been removed. @item The priority of faces in a list supplied by the @code{:inherit} face @@ -126,9 +132,9 @@ and key sequences: @itemize @minus @item -The @code{kbd} macro has been removed. It isn't that difficult to -write key sequences using the string and vector representations, and -we want to encourage users to learn. +The @code{kbd} macro is now obsolete and is no longer documented. +It isn't that difficult to write key sequences using the string and +vector representations, and we want to encourage users to learn. @item Emacs no longer supports key remapping. You can do pretty much the @@ -304,7 +310,7 @@ In @code{replace-match}, the replacement text now inherits properties from the surrounding text. @item -@code{mode-line-format} no longer supports the @code{:propertize}, +The variable @code{mode-line-format} no longer supports the @code{:propertize}, @code{%i}, and @code{%I} constructs. The function @code{format-mode-line} has been removed. @@ -319,8 +325,9 @@ The functions @code{window-pixel-edges} and think in terms of lines and columns, not pixel coordinates. (Sometime in the distant past, we will do away with graphical terminals entirely, in favor of text terminals.) For similar reasons, the -functions @code{posn-at-point}, @code{posn-at-x-y}, and -@code{pos-visible-in-window-p} have been removed. +functions @code{posn-at-point} and @code{posn-at-x-y} have been removed, and +@code{pos-visible-in-window-p} no longer worries about partially +visible rows. @item The macro @code{save-selected-window} only saves the selected window