# HG changeset patch # User Juanma Barranquero # Date 1238084485 0 # Node ID c4853c1bf38cc67d46af71d83eb9688267e79781 # Parent a1a47a7b50879c1d3eca9e8abd6caa861e289945 * align.el (align-large-region, align-perl-modes, align-rules-list) (align-open-comment-modes): Fix typos in docstrings. (align-region-separate): Doc fixes. diff -r a1a47a7b5087 -r c4853c1bf38c lisp/ChangeLog --- a/lisp/ChangeLog Thu Mar 26 05:38:59 2009 +0000 +++ b/lisp/ChangeLog Thu Mar 26 16:21:25 2009 +0000 @@ -1,3 +1,9 @@ +2009-03-26 Juanma Barranquero + + * align.el (align-large-region, align-perl-modes, align-rules-list) + (align-open-comment-modes): Fix typos in docstrings. + (align-region-separate): Doc fixes. + 2009-03-26 Stefan Monnier * arc-mode.el (archive-ar-summarize): Don't burp on special GNU diff -r a1a47a7b5087 -r c4853c1bf38c lisp/align.el --- a/lisp/align.el Thu Mar 26 05:38:59 2009 +0000 +++ b/lisp/align.el Thu Mar 26 16:21:25 2009 +0000 @@ -174,7 +174,7 @@ (defcustom align-large-region 10000 "If an integer, defines what constitutes a \"large\" region. -If nil,then no messages will ever be printed to the minibuffer." +If nil, then no messages will ever be printed to the minibuffer." :type 'integer :group 'align) @@ -184,7 +184,7 @@ :group 'align) (defcustom align-perl-modes '(perl-mode cperl-mode) - "A list of modes where perl syntax is to be seen." + "A list of modes where Perl syntax is to be seen." :type '(repeat symbol) :group 'align) @@ -222,7 +222,7 @@ (append align-lisp-modes align-c++-modes align-perl-modes '(python-mode makefile-mode)) "A list of modes with a single-line comment syntax. -These are comments as in Lisp, which have a beginning but, end with +These are comments as in Lisp, which have a beginning, but end with the line (i.e., `comment-end' is an empty string)." :type '(repeat symbol) :group 'align) @@ -259,8 +259,8 @@ `group' Each contiguous set of lines where a specific alignment occurs is considered a section for that alignment rule. - Note that each rule will may have any entirely different - set of section divisions than another. + Note that each rule may have any entirely different set + of section divisions than another. int alpha = 1; /* one */ double beta = 2.0; @@ -292,7 +292,7 @@ between sections, the behavior will be very similar to `largest', and faster. But if the mode does not use clear separators (for example, if you collapse your braces onto - the preceding statement in C or perl), `largest' is + the preceding statement in C or Perl), `largest' is probably the better alternative. function A function that will be passed the beginning and ending @@ -301,8 +301,8 @@ both of these parameters will be nil, in which case the function should return non-nil if it wants each rule to define its own section, or nil if it wants the largest - section found to be used as the common section for all rules - that occur there. + section found to be used as the common section for all + rules that occur there. list A list of markers within the buffer that represent where the section dividers lie. Be certain to use markers! For @@ -623,8 +623,8 @@ the purposes of alignment. The \"alignment character\" is always the first character immediately following this parenthesis group. This attribute may also be a list of - integer, in which case multiple alignment characters will - be aligned, with the list of integer identifying the + integers, in which case multiple alignment characters will + be aligned, with the list of integers identifying the whitespace groups which precede them. The default for this attribute is 1. @@ -636,7 +636,7 @@ `case-fold' If `regexp' is an ordinary regular expression string containing alphabetic character, sometimes you may want the search to proceed case-insensitively (for languages - that ignore case, such as pascal for example). In that + that ignore case, such as Pascal for example). In that case, set `case-fold' to a non-nil value, and the regular expression search will ignore case. If `regexp' is set to a function, that function must handle the job of ignoring