diff options
author | Glenn Morris <rgm@gnu.org> | 2011-04-22 20:07:16 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-04-22 20:07:16 -0700 |
commit | 4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640 (patch) | |
tree | 26c20c7c4da56fae7e041c9345c76cce1224188c /doc/lispref | |
parent | 81de9236e1daa1fe7dfd0ef9aaaf1e13b6aa74e4 (diff) | |
parent | be71f8100a71a5b896ef05c32f51a09a3d9e3993 (diff) | |
download | emacs-4ffd0d6b569d252e4e807d4e9c9d6a5bd5b08640.tar.gz |
Merge from emacs-23; up to 2010-06-09T17:54:28Z!albinus@detlef.
Diffstat (limited to 'doc/lispref')
-rw-r--r-- | doc/lispref/ChangeLog | 10 | ||||
-rw-r--r-- | doc/lispref/frames.texi | 21 | ||||
-rw-r--r-- | doc/lispref/windows.texi | 2 |
3 files changed, 23 insertions, 10 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 784f62dc4cc..0c0583c06ab 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,13 @@ +2011-04-23 Juanma Barranquero <lekktu@gmail.com> + + * windows.texi (Choosing Window): Fix typo. + +2011-04-23 Chong Yidong <cyd@stupidchicken.com> + + * frames.texi (Layout Parameters): Note the difference between + querying and setting parameters for left-fringe and right-fringe + (Bug#6930). + 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca> * minibuf.texi (Basic Completion): Be a bit more precise about the diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index 92969d8259c..06c120cc09d 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@ -681,17 +681,20 @@ use the default width. @itemx right-fringe The default width of the left and right fringes of windows in this frame (@pxref{Fringes}). If either of these is zero, that effectively -removes the corresponding fringe. A value of @code{nil} stands for -the standard fringe width, which is the width needed to display the -fringe bitmaps. +removes the corresponding fringe. + +When you use @code{frame-parameter} to query the value of either of +these two frame parameters, the return value is always an integer. +When using @code{set-frame-parameter}, passing a @code{nil} value +imposes an actual default value of 8 pixels. The combined fringe widths must add up to an integral number of -columns, so the actual default fringe widths for the frame may be -larger than the specified values. The extra width needed to reach an -acceptable total is distributed evenly between the left and right -fringe. However, you can force one fringe or the other to a precise -width by specifying that width as a negative integer. If both widths are -negative, only the left fringe gets the specified width. +columns, so the actual default fringe widths for the frame, as +reported by @code{frame-parameter}, may be larger than what you +specify. Any extra width is distributed evenly between the left and +right fringe. However, you can force one fringe or the other to a +precise width by specifying that width as a negative integer. If both +widths are negative, only the left fringe gets the specified width. @vindex menu-bar-lines, a frame parameter @item menu-bar-lines diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 528930c0ff6..9ce00de4abc 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -1014,7 +1014,7 @@ a window only if the space taken up by that window can accommodate two windows one above the other that are both at least @code{window-min-height} lines tall. Moreover, if the window that shall be split has a mode line, @code{split-window-sensibly} does not split -the window unless the new window can accomodate a mode line too. +the window unless the new window can accommodate a mode line too. @end defopt @defopt split-width-threshold |