diff options
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/ChangeLog | 18 | ||||
-rw-r--r-- | lispref/intro.texi | 2 | ||||
-rw-r--r-- | lispref/modes.texi | 2 | ||||
-rw-r--r-- | lispref/tips.texi | 6 | ||||
-rw-r--r-- | lispref/windows.texi | 6 |
5 files changed, 32 insertions, 2 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index cf110147ad8..75d40dbd19c 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,21 @@ +2007-08-08 Martin Rudalics <rudalics@gmx.at> + + * modes.texi (Example Major Modes): Fix typo. + +2007-08-08 Glenn Morris <rgm@gnu.org> + + * intro.texi (nil and t): Do not use `iff' in documentation. + + * tips.texi (Documentation Tips): Recommend against `iff'. + +2007-08-07 Chong Yidong <cyd@stupidchicken.com> + + * display.texi (Image Cache): Document image-refresh. + +2007-08-06 Martin Rudalics <rudalics@gmx.at> + + * windows.texi (Size of Window): Document window-full-width-p. + 2007-07-25 Glenn Morris <rgm@gnu.org> * gpl.texi (GPL): Replace license with GPLv3. diff --git a/lispref/intro.texi b/lispref/intro.texi index 35566603b7c..ed0fd1c0699 100644 --- a/lispref/intro.texi +++ b/lispref/intro.texi @@ -213,7 +213,7 @@ values results in a @code{setting-constant} error. @xref{Constant Variables}. @defun booleanp object -Return non-nil iff @var{object} is one of the two canonical boolean +Return non-nil if @var{object} is one of the two canonical boolean values: @code{t} or @code{nil}. @end defun diff --git a/lispref/modes.texi b/lispref/modes.texi index 95fbe6a292f..3d60756a901 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -1078,7 +1078,7 @@ each calls the following function to set various variables: In Lisp and most programming languages, we want the paragraph commands to treat only blank lines as paragraph separators. And the -modes should undestand the Lisp conventions for comments. The rest of +modes should understand the Lisp conventions for comments. The rest of @code{lisp-mode-variables} sets this up: @smallexample diff --git a/lispref/tips.texi b/lispref/tips.texi index de590c4cf9d..f3070f4659b 100644 --- a/lispref/tips.texi +++ b/lispref/tips.texi @@ -845,6 +845,12 @@ Instead of, ``Cause Emacs to display text in boldface,'' write just ``Display text in boldface.'' @item +Avoid using ``iff'' (a mathematics term meaning ``if and only if''), +since many people are unfamiliar with it and mistake it for a typo. In +most cases, the meaning is clear with just ``if''. Otherwise, try to +find an alternate phrasing that conveys the meaning. + +@item When a command is meaningful only in a certain mode or situation, do mention that in the documentation string. For example, the documentation of @code{dired-find-file} is: diff --git a/lispref/windows.texi b/lispref/windows.texi index 22bb43ecaa0..bd8f7bc2d36 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi @@ -1887,6 +1887,12 @@ If @var{window} is @code{nil}, the function uses the selected window. @end example @end defun +@defun window-full-width-p &optional window +This function returns non-@code{nil} if @var{window} is as wide as +the frame that contains it; otherwise @code{nil}. +If @var{window} is @code{nil}, the function uses the selected window. +@end defun + @defun window-edges &optional window This function returns a list of the edge coordinates of @var{window}. If @var{window} is @code{nil}, the selected window is used. |