emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r118033: Merge from emacs-24; up to r117553


From: Glenn Morris
Subject: [Emacs-diffs] trunk r118033: Merge from emacs-24; up to r117553
Date: Sat, 04 Oct 2014 07:06:07 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 118033 [merge]
revision-id: address@hidden
parent: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2014-10-04 00:05:21 -0700
message:
  Merge from emacs-24; up to r117553
modified:
  doc/emacs/ChangeLog            changelog-20091113204419-o5vbwnq5f7feedwu-6227
  doc/emacs/cmdargs.texi         
cmdargs.texi-20091113204419-o5vbwnq5f7feedwu-6238
  doc/emacs/display.texi         
display.texi-20091113204419-o5vbwnq5f7feedwu-6243
  doc/emacs/killing.texi         
killing.texi-20091113204419-o5vbwnq5f7feedwu-6258
  doc/emacs/misc.texi            misc.texi-20091113204419-o5vbwnq5f7feedwu-6267
  doc/emacs/vc1-xtra.texi        
vc1xtra.texi-20091113204419-o5vbwnq5f7feedwu-6281
  doc/lispref/ChangeLog          changelog-20091113204419-o5vbwnq5f7feedwu-6155
  doc/lispref/buffers.texi       
buffers.texi-20091113204419-o5vbwnq5f7feedwu-6164
  doc/lispref/commands.texi      
commands.texi-20091113204419-o5vbwnq5f7feedwu-6165
  doc/lispref/display.texi       
display.texi-20091113204419-o5vbwnq5f7feedwu-6172
  doc/lispref/frames.texi        
frames.texi-20091113204419-o5vbwnq5f7feedwu-6180
  doc/lispref/functions.texi     
functions.texi-20091113204419-o5vbwnq5f7feedwu-6182
  doc/lispref/modes.texi         modes.texi-20091113204419-o5vbwnq5f7feedwu-6201
  doc/lispref/windows.texi       
windows.texi-20091113204419-o5vbwnq5f7feedwu-6224
  doc/misc/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-6331
  doc/misc/vip.texi              vip.texi-20091113204419-o5vbwnq5f7feedwu-6327
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/frame.el                  frame.el-20091113204419-o5vbwnq5f7feedwu-275
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog       2014-10-03 15:44:46 +0000
+++ b/doc/emacs/ChangeLog       2014-10-04 07:05:21 +0000
@@ -1,3 +1,13 @@
+2014-10-04  Glenn Morris  <address@hidden>
+
+       * cmdargs.texi (Misc X):
+       * display.texi (Optional Mode Line):
+       * misc.texi (emacsclient Options):
+       * vc1-xtra.texi (VC Delete/Rename): Small fixes re @var usage.
+
+       * killing.texi (Rectangles): Copyedits re rectangle-mark-mode.
+       (CUA Bindings): Mention rectangle-mark-mode.
+
 2014-10-03  Martin Rudalics  <address@hidden>
 
        * frames.texi (Frame Commands):

=== modified file 'doc/emacs/cmdargs.texi'
--- a/doc/emacs/cmdargs.texi    2014-10-03 15:26:26 +0000
+++ b/doc/emacs/cmdargs.texi    2014-10-04 06:35:55 +0000
@@ -1106,8 +1106,8 @@
 @c Enable horizontal scroll bars.  Since horizontal scroll bars
 @c are not yet implemented, this actually does nothing.
 
address@hidden --parent-id @var{ID}
-Open Emacs as a client X window via the XEmbed protocol, with @var{ID}
address@hidden --parent-id @var{id}
+Open Emacs as a client X window via the XEmbed protocol, with @var{id}
 as the parent X window id.  Currently, this option is mainly useful
 for developers.
 

=== modified file 'doc/emacs/display.texi'
--- a/doc/emacs/display.texi    2014-04-29 14:45:24 +0000
+++ b/doc/emacs/display.texi    2014-10-04 06:35:55 +0000
@@ -1245,11 +1245,11 @@
 following the buffer percentage like this:
 
 @example
address@hidden of @var{SIZE}
address@hidden of @var{size}
 @end example
 
 @noindent
-Here @var{SIZE} is the human readable representation of the number of
+Here @var{size} is the human readable representation of the number of
 characters in the buffer, which means that @samp{k} for 10^3, @samp{M}
 for 10^6, @samp{G} for 10^9, etc., are used to abbreviate.
 

=== modified file 'doc/emacs/killing.texi'
--- a/doc/emacs/killing.texi    2014-04-29 14:45:24 +0000
+++ b/doc/emacs/killing.texi    2014-10-04 02:36:49 +0000
@@ -754,6 +754,10 @@
 (@code{string-rectangle}).
 @item M-x string-insert-rectangle @key{RET} @var{string} @key{RET}
 Insert @var{string} on each line of the rectangle.
address@hidden C-x @key{SPC}
+Toggle Rectangle Mark mode (@code{rectangle-mark-mode}).
+When this mode is active, the region-rectangle is highlighted and can
+be shrunk/grown, and the standard kill and yank commands operate on it.
 @end table
 
   The rectangle operations fall into two classes: commands to erase or
@@ -840,11 +844,13 @@
 shifting the original text to the right.
 
 @findex rectangle-mark-mode
address@hidden rectangular region
-  The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) makes a
address@hidden region}.  It is a new feature introduced in GNU Emacs
-24.4, and most commands now are still unaware of it, but kill and yank
-(@pxref{Killing}) do work on the rectangle.
+  The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) toggles
+whether the region-rectangle or the standard region is highlighted
+(first activating the region if necessary).  When this mode is enabled,
+commands that resize the region (@kbd{C-f}, @kbd{C-n} etc.) do
+so in a rectangular fashion, and killing and yanking operate on the
+rectangle.  @xref{Killing}.  The mode persists only as long as the
+region is active.
 
 @node CUA Bindings
 @section CUA Bindings
@@ -887,7 +893,8 @@
 of each line in the rectangle (on the same side as the cursor).
 
   You can use this rectangle support without activating CUA by calling the
address@hidden command.
address@hidden command.  But see also the standard
address@hidden  @xref{Rectangles}.
 
   With CUA you can easily copy text and rectangles into and out of
 registers by providing a one-digit numeric prefix to the kill, copy,

=== modified file 'doc/emacs/misc.texi'
--- a/doc/emacs/misc.texi       2014-06-08 23:41:43 +0000
+++ b/doc/emacs/misc.texi       2014-10-04 07:05:21 +0000
@@ -1610,9 +1610,9 @@
 edit the server buffers within Emacs, and they are @emph{not} killed
 when you type @kbd{C-x #} in them.
 
address@hidden --parent-id @var{ID}
address@hidden --parent-id @var{id}
 Open an @command{emacsclient} frame as a client frame in the parent X
-window with id @var{ID}, via the XEmbed protocol.  Currently, this
+window with id @var{id}, via the XEmbed protocol.  Currently, this
 option is mainly useful for developers.
 
 @item -q

=== modified file 'doc/emacs/vc1-xtra.texi'
--- a/doc/emacs/vc1-xtra.texi   2014-01-01 07:43:34 +0000
+++ b/doc/emacs/vc1-xtra.texi   2014-10-04 06:35:55 +0000
@@ -113,7 +113,7 @@
 schedule the deletion for committing.
 
 @item M-x vc-rename-file
-Prompt for two file names, @var{VAR} and @var{OLD}, rename them in the
+Prompt for two file names, @var{var} and @var{old}, rename them in the
 working tree, and schedule the renaming for committing.
 @end table
 

=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2014-10-03 15:44:46 +0000
+++ b/doc/lispref/ChangeLog     2014-10-04 07:05:21 +0000
@@ -1,3 +1,18 @@
+2014-10-04  Glenn Morris  <address@hidden>
+
+       * commands.texi (Generic Commands): Copyedits.
+
+       * display.texi (Scroll Bars):
+       * modes.texi (Header Lines): Copyedits.
+
+       * buffers.texi (Buffer List):
+       * display.texi (Image Descriptors, Defining Images):
+       * functions.texi (Core Advising Primitives): Small fixes re @var usage.
+
+       * windows.texi (Window Sizes, Resizing Windows): Copyedits.
+
+       * frames.texi (Multiple Terminals): Copyedits re multiple monitors.
+
 2014-10-03  Martin Rudalics  <address@hidden>
 
        * frames.texi (Size Parameters, Size and Position): Mention that

=== modified file 'doc/lispref/buffers.texi'
--- a/doc/lispref/buffers.texi  2014-03-07 15:11:12 +0000
+++ b/doc/lispref/buffers.texi  2014-10-04 06:35:55 +0000
@@ -863,7 +863,7 @@
 
 @defun last-buffer &optional buffer visible-ok frame
 This function returns the last buffer in @var{frame}'s buffer list other
-than @var{BUFFER}.  If @var{frame} is omitted or @code{nil}, it uses the
+than @var{buffer}.  If @var{frame} is omitted or @code{nil}, it uses the
 selected frame's buffer list.
 
 The argument @var{visible-ok} is handled as with @code{other-buffer},

=== modified file 'doc/lispref/commands.texi'
--- a/doc/lispref/commands.texi 2014-06-15 00:06:30 +0000
+++ b/doc/lispref/commands.texi 2014-10-04 07:05:21 +0000
@@ -589,31 +589,26 @@
 @cindex alternatives, defining
 
 The macro @code{define-alternatives} can be used to define
address@hidden commands}.  Generic commands are interactive functions
-whose implementation can be selected among several alternatives, as a
-matter of user preference.
address@hidden commands}.  These are interactive functions whose
+implementation can be selected from several alternatives, as a matter
+of user preference.
 
 @defmac define-alternatives command &rest customizations
-Define the new command `COMMAND'.
-
-The argument `COMMAND' should be a symbol.
-
-When a user runs @kbd{M-x COMMAND @key{RET}} for the first time, Emacs
-will prompt for which alternative to use and record the selected
-command as a custom variable.
-
-Running @kbd{C-u M-x COMMAND @key{RET}} prompts again for an
-alternative and overwrites the previous choice.
-
-The variable @code{COMMAND-alternatives} contains an alist
-(@pxref{Association Lists}) with alternative implementations of
-`COMMAND'.  @code{define-alternatives} does not have any effect until
-this variable is set.
-
-If @var{customizations} is address@hidden, it should be composed of
-alternating @code{defcustom} keywords and values to add to the
-declaration of @code{COMMAND-alternatives} (typically :group and
-:version).
+Define the new command @var{command}, a symbol.
+
+When a user runs @kbd{M-x @var{command} @key{RET}} for the first time,
+Emacs prompts for which real form of the command to use, and records
+the selection by way of a custom variable.  Using a prefix argument
+repeats this process of choosing an alternative.
+
+The variable @address@hidden should contain an alist
+with alternative implementations of @var{command}.
+Until this variable is set, @code{define-alternatives} has no effect.
+
+If @var{customizations} is address@hidden, it should consist of
+alternating @code{defcustom} keywords (typically @code{:group} and
address@hidden:version}) and values to add to the declaration of
address@hidden@var{command}-alternatives}.
 @end defmac
 
 @node Interactive Call

=== modified file 'doc/lispref/display.texi'
--- a/doc/lispref/display.texi  2014-08-19 18:56:29 +0000
+++ b/doc/lispref/display.texi  2014-10-04 06:45:19 +0000
@@ -3925,9 +3925,9 @@
 @end defun
 
 @defun window-scroll-bar-width &optional window
-This function returns the width of @var{window}'s vertical scrollbar,
-in pixels.  @var{window} must be a live window.  If @var{window} is
address@hidden or omitted, it will be the selected window.
+This function returns the width in pixels of @var{window}'s vertical
+scrollbar.  @var{window} must be a live window, and defaults to the
+selected window.
 @end defun
 
 If you don't specify these values for a window with
@@ -4503,7 +4503,7 @@
 
   Each image descriptor has the form @code{(image . @var{props})},
 where @var{props} is a property list of alternating keyword symbols
-and values, including at least the pair @code{:type @var{TYPE}} which
+and values, including at least the pair @code{:type @var{type}} that
 specifies the image type.
 
   The following is a list of properties that are meaningful for all
@@ -4995,7 +4995,7 @@
 Each specification in @var{specs} is a property list with contents
 depending on image type.  All specifications must at least contain the
 properties @code{:type @var{type}} and either @address@hidden:file @var{file}}}
-or @address@hidden:data @var{DATA}}}, where @var{type} is a symbol specifying
+or @address@hidden:data @var{data}}}, where @var{type} is a symbol specifying
 the image type, e.g., @code{xbm}, @var{file} is the file to load the
 image from, and @var{data} is a string containing the actual image data.
 The first specification in the list whose @var{type} is supported, and

=== modified file 'doc/lispref/frames.texi'
--- a/doc/lispref/frames.texi   2014-10-03 15:44:46 +0000
+++ b/doc/lispref/frames.texi   2014-10-04 07:05:21 +0000
@@ -314,57 +314,50 @@
 
 @cindex multi-monitor
   On some ``multi-monitor'' setups, a single X display outputs to more
-than one physical monitor.  @code{display-monitor-attributes-list} and
address@hidden can be used to obtain information
-about each physical monitor on multi-monitor setups.
+than one physical monitor.  You can use the functions
address@hidden and @code{frame-monitor-attributes}
+to obtain information about such setups.
 
 @defun display-monitor-attributes-list &optional display
 This function returns a list of physical monitor attributes on
address@hidden  Each element of the list is an association list,
-representing the attributes of each physical monitor.  The first
-element corresponds to the primary monitor.
-
-Attributes for a physical monitor are:
address@hidden, which defaults to that of the selected frame.
+Each element of the list is an association list, representing the
+attributes of a physical monitor.  The first element corresponds to
+the primary monitor.  The attribute keys and values are:
 
 @table @samp
 @item geometry
-Position and size in pixels in the form of @samp{(X Y WIDTH HEIGHT)}
+Position and size in pixels as @samp{(@var{x} @var{y}
address@hidden @var{height})}.
 
 @item workarea
-Position and size of the workarea in pixels in the form of @samp{(X Y
-WIDTH HEIGHT)}
+Position and size of the work area in pixels as
address@hidden(@var{x} @var{y} @var{width} @var{height})}.
 
 @item mm-size
-Width and height in millimeters in the form of @samp{(WIDTH HEIGHT)}
+Width and height in millimeters as @samp{(@var{width} @var{height})}
 
 @item frames
-List of frames dominated by the physical monitor
+List of frames that this physical monitor dominates (see below).
 
 @item name
-Name of the physical monitor as a string
+Name of the physical monitor as @var{string}.
 @end table
 
-where X, Y, WIDTH, and HEIGHT are integers.  @samp{name} is optional.
-
-A frame is dominated by a physical monitor when either the
-largest area of the frame resides in the monitor, or the monitor
-is the closest to the frame if the frame does not intersect any
-physical monitors.  Every non-tip frame (including invisible one)
-in a graphical display is dominated by exactly one physical
-monitor at a time, though it can span multiple (or no) physical
-monitors.
-
address@hidden defaults to the selected frame's display.
address@hidden, @var{y}, @var{width}, and @var{height} are integers.
address@hidden may not be present.
+
+A frame is @dfn{dominated} by a physical monitor when either the
+largest area of the frame resides in that monitor, or (if the frame
+does not intersect any physical monitors) that monitor is the closest
+to the frame.  Every (non-tooltip) frame (whether visible or not) in a
+graphical display is dominated by exactly one physical monitor at a
+time, though the frame can span multiple (or no) physical monitors.
 @end defun
 
 @defun frame-monitor-attributes &optional frame
 This function returns the attributes of the physical monitor
-dominating @var{frame}, which defaults to the selected frame.
-
-A frame is dominated by a physical monitor when either the
-largest area of the frame resides in the monitor, or the monitor
-is the closest to the frame if the frame does not intersect any
-physical monitors.
+dominating (see above) @var{frame}, which defaults to the selected frame.
 @end defun
 
 @node Frame Parameters

=== modified file 'doc/lispref/functions.texi'
--- a/doc/lispref/functions.texi        2014-09-08 06:00:58 +0000
+++ b/doc/lispref/functions.texi        2014-10-04 07:05:21 +0000
@@ -1232,7 +1232,7 @@
 @code{(local @var{symbol})}, where @var{symbol} is an expression which returns
 the variable name, then @var{function} will only be added in the
 current buffer.  Finally, if you want to modify a lexical variable, you will
-have to use @code{(var @var{VARIABLE})}.
+have to use @code{(var @var{variable})}.
 
 Every function added with @code{add-function} can be accompanied by an
 association list of properties @var{props}.  Currently only two of those

=== modified file 'doc/lispref/modes.texi'
--- a/doc/lispref/modes.texi    2014-06-08 23:39:23 +0000
+++ b/doc/lispref/modes.texi    2014-10-04 06:45:19 +0000
@@ -2221,13 +2221,10 @@
 It is normally @code{nil}, so that ordinary buffers have no header line.
 @end defvar
 
-The function @code{window-header-line-height} returns the height of
-the header line:
-
 @defun window-header-line-height &optional window
-Return the height of @var{window}'s header line, in pixels.
address@hidden must be a live window.  If @var{window} is @code{nil} or
-omitted, it will be the selected window.
+This function returns the height in pixels of @var{window}'s header
+line.  @var{window} must be a live window, and defaults to the
+selected window.
 @end defun
 
   A window that is just one line tall never displays a header line.  A

=== modified file 'doc/lispref/windows.texi'
--- a/doc/lispref/windows.texi  2014-04-29 15:16:07 +0000
+++ b/doc/lispref/windows.texi  2014-10-04 07:05:21 +0000
@@ -451,7 +451,7 @@
 the selected window.  If @var{window} is an internal window, the return
 value is the total height occupied by its descendant windows.
 
-   If a window's pixel height is not an integral multiple of its frame's
+  If a window's pixel height is not an integral multiple of its frame's
 default character height, the number of lines occupied by the window is
 rounded internally.  This is done in a way such that, if the window is a
 parent window, the sum of the total heights of all its child windows
@@ -462,13 +462,12 @@
 sibling can be calculated as the sum of this window's topmost row and
 total height (@pxref{Coordinates and Windows})
 
-   If the optional argument @var{round} equals @code{ceiling}, this
+  If the optional argument @var{round} is @code{ceiling}, this
 function returns the smallest integer larger than @var{window}'s pixel
-height divided by the character height of @var{window}'s frame; if it is
address@hidden, it returns the largest integer smaller than @var{window}'s
-pixel height divided by the character height of @var{window}'s frame.
-Any other value of @var{round} means to return the internal value of the
-total height of @var{window}.
+height divided by the character height of its frame; if it is
address@hidden, it returns the largest integer smaller than said value;
+with any other @var{round} it returns the internal value of
address@hidden's total height.
 @end defun
 
 @cindex window width
@@ -484,7 +483,7 @@
 the selected window.  If @var{window} is internal, the return value is
 the total width occupied by its descendant windows.
 
-   If a window's pixel width is not an integral multiple of its frame's
+  If a window's pixel width is not an integral multiple of its frame's
 character width, the number of lines occupied by the window is rounded
 internally.  This is done in a way such that, if the window is a parent
 window, the sum of the total widths of all its children internally
@@ -493,15 +492,9 @@
 differ by one column.  This means also, that if this window is
 horizontally combined and has a right sibling, the leftmost column of
 that sibling can be calculated as the sum of this window's leftmost
-column and total width (@pxref{Coordinates and Windows}).
-
-If the optional argument @var{round} is @code{ceiling}, this function
-will return the smallest integer larger than @var{window}'s pixel width
-divided by the character width of @var{window}'s frame; if it is
address@hidden, it returns the largest integer smaller than @var{window}'s
-pixel width divided by the character width of @var{window}'s frame.  Any
-other value of @var{round} means to return the internal total width of
address@hidden
+column and total width (@pxref{Coordinates and Windows}).  The
+optional argument @var{round} behaves as it does for
address@hidden
 @end defun
 
 @defun window-total-size &optional window horizontal round
@@ -510,8 +503,7 @@
 omitted or @code{nil}, this is equivalent to calling
 @code{window-total-height} for @var{window}; otherwise it is equivalent
 to calling @code{window-total-width} for @var{window}.  The optional
-argument @code{ROUND} is handled as for @code{window-total-height} and
address@hidden
+argument @var{round} behaves as it does for @code{window-total-height}.
 @end defun
 
 The following two functions can be used to return the total size of a
@@ -754,8 +746,8 @@
 a scroll bar and a right divider (if any), plus a text area two columns
 wide.
 
-If the optional argument @code{pixelwise} is address@hidden,
address@hidden will be interpreted as pixels.
+If the optional argument @var{pixelwise} is address@hidden,
address@hidden is interpreted as pixels.
 @end defun
 
 @defun window-resize window delta &optional horizontal ignore pixelwise
@@ -779,7 +771,7 @@
 combination limits of the involved windows; in some cases, it may alter
 both edges.  @xref{Recombining Windows}.  To resize by moving only the
 bottom or right edge of a window, use the function
address@hidden, below.
address@hidden
 @end defun
 
 @c The commands enlarge-window, enlarge-window-horizontally,
@@ -792,8 +784,8 @@
 moves the right edge by @var{delta} columns.  If @var{window} is
 @code{nil}, it defaults to the selected window.
 
-If the optional argument @code{pixelwise} is address@hidden,
address@hidden will be interpreted as pixels.
+If the optional argument @var{pixelwise} is address@hidden,
address@hidden is interpreted as pixels.
 
 A positive @var{delta} moves the edge downwards or to the right; a
 negative @var{delta} moves it upwards or to the left.  If the edge
@@ -807,17 +799,16 @@
 
 @cindex pixelwise, resizing windows
 @defopt window-resize-pixelwise
-If the value of this option is address@hidden, windows are resized in
+If the value of this option is address@hidden, Emacs resizes windows in
 units of pixels.  This currently affects functions like
 @code{split-window} (@pxref{Splitting Windows}), @code{maximize-window},
 @code{minimize-window}, @code{fit-window-to-buffer},
 @code{shrink-window-if-larger-than-buffer} (all listed below) and
 @code{fit-frame-to-buffer} (@pxref{Size and Position}).
 
-Note that when a frame's pixel size is not a multiple of the frame's
-character size, at least one window may get resized pixelwise even if
-this option is @code{nil}.  The default value of this option is
address@hidden
+Note that when a frame's pixel size is not a multiple of its character
+size, at least one window may get resized pixelwise even if this
+option is @code{nil}.  The default value is @code{nil}.
 @end defopt
 
   The following commands resize windows in more specific ways.  When

=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2014-10-03 15:44:46 +0000
+++ b/doc/misc/ChangeLog        2014-10-04 07:05:21 +0000
@@ -1,3 +1,7 @@
+2014-10-04  Glenn Morris  <address@hidden>
+
+       * vip.texi (Other Vi Commands): Markup fix.
+
 2014-10-03  Bastien Guerry  <address@hidden>
 
        * org.texi (Key bindings and useful functions): Fix typo.

=== modified file 'doc/misc/vip.texi'
--- a/doc/misc/vip.texi 2014-06-10 02:20:31 +0000
+++ b/doc/misc/vip.texi 2014-10-04 07:05:21 +0000
@@ -1561,7 +1561,7 @@
 @end example
 
 VIP uses a special local keymap to interpret key strokes you enter in vi
-mode.  The following keys are bound to @var{nil} in the keymap.  Therefore,
+mode.  The following keys are bound to @code{nil} in the keymap.  Therefore,
 these keys are interpreted by the global keymap of Emacs.  We give below a
 short description of the functions bound to these keys in the global
 keymap.  See GNU Emacs Manual for details.

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-10-04 04:03:49 +0000
+++ b/lisp/ChangeLog    2014-10-04 07:05:21 +0000
@@ -1,3 +1,8 @@
+2014-10-04  Glenn Morris  <address@hidden>
+
+       * frame.el (frame-monitor-attributes)
+       (display-monitor-attributes-list): Doc fixes.
+
 2014-10-04  Stefan Monnier  <address@hidden>
 
        Merge trivially safe differences from standalone CC-mode.

=== modified file 'lisp/frame.el'
--- a/lisp/frame.el     2014-10-03 15:44:46 +0000
+++ b/lisp/frame.el     2014-10-04 07:05:21 +0000
@@ -1276,7 +1276,7 @@
 
 (defun frame-monitor-attributes (&optional frame)
   "Return the attributes of the physical monitor dominating FRAME.
-If FRAME is omitted, describe the currently selected frame.
+If FRAME is omitted or nil, describe the currently selected frame.
 
 A frame is dominated by a physical monitor when either the
 largest area of the frame resides in the monitor, or the monitor
@@ -1554,16 +1554,15 @@
 
 (defun display-monitor-attributes-list (&optional display)
   "Return a list of physical monitor attributes on DISPLAY.
-Each element of the list represents the attributes of each
-physical monitor.  The first element corresponds to the primary
-monitor.
-
-Attributes for a physical monitor is represented as an alist of
-attribute keys and values as follows:
-
- geometry -- Position and size in pixels in the form of
-            (X Y WIDTH HEIGHT)
- workarea -- Position and size of the workarea in pixels in the
+If DISPLAY is omitted or nil, it defaults to the selected frame's display.
+Each element of the list represents the attributes of a physical
+monitor.  The first element corresponds to the primary monitor.
+
+The attributes for a physical monitor are represented as an alist
+of attribute keys and values as follows:
+
+ geometry -- Position and size in pixels in the form of (X Y WIDTH HEIGHT)
+ workarea -- Position and size of the work area in pixels in the
             form of (X Y WIDTH HEIGHT)
  mm-size  -- Width and height in millimeters in the form of
             (WIDTH HEIGHT)
@@ -1576,11 +1575,10 @@
 A frame is dominated by a physical monitor when either the
 largest area of the frame resides in the monitor, or the monitor
 is the closest to the frame if the frame does not intersect any
-physical monitors.  Every non-tip frame (including invisible one)
+physical monitors.  Every (non-tooltip) frame (including invisible ones)
 in a graphical display is dominated by exactly one physical
 monitor at a time, though it can span multiple (or no) physical
-monitors.
-If DISPLAY is omitted or nil, it defaults to the selected frame's display."
+monitors."
   (let ((frame-type (framep-on-display display)))
     (cond
      ((eq frame-type 'x)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]