aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2008-08-26 11:11:41 +0000
committerJuanma Barranquero2008-08-26 11:11:41 +0000
commit88a584fe5112b419480bb0c3be2df1f33c5df115 (patch)
treeec0da721e7a673445bb5d23306e7c18485d10467 /src
parentd36b11e229d9e0d94ff87c6c3099b05ad29514fa (diff)
downloademacs-88a584fe5112b419480bb0c3be2df1f33c5df115.tar.gz
emacs-88a584fe5112b419480bb0c3be2df1f33c5df115.zip
Fix typos (sync from trunk).
* editfns.c (Ffield_string_no_properties): Fix typo in docstring. * fringe.c (Fdefine_fringe_bitmap): Doc fix. * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstring. * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: (Fremove_text_properties): Fix typos in docstrings. * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring. * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Fix typo in docstring. * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face): Fix typos in docstrings. * xselect.c (Fx_send_client_event): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
-rw-r--r--src/editfns.c4
-rw-r--r--src/fringe.c2
-rw-r--r--src/minibuf.c8
-rw-r--r--src/textprop.c6
-rw-r--r--src/w32fns.c2
-rw-r--r--src/xdisp.c2
-rw-r--r--src/xfaces.c4
-rw-r--r--src/xselect.c2
9 files changed, 37 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 59fbdc410fe..2fac842fc4a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,11 +1,31 @@
12008-08-26 Juanma Barranquero <lekktu@gmail.com>
2
3 * editfns.c (Ffield_string_no_properties): Fix typo in docstring.
4
5 * fringe.c (Fdefine_fringe_bitmap): Doc fix.
6
7 * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstring.
8
9 * textprop.c (syms_of_textprop) <text-property-default-nonsticky>:
10 (Fremove_text_properties): Fix typos in docstrings.
11
12 * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring.
13
14 * xdisp.c (syms_of_xdisp) <scroll-conservatively>:
15 Fix typo in docstring.
16
17 * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face):
18 Fix typos in docstrings.
19
20 * xselect.c (Fx_send_client_event): Doc fix.
21
12008-08-23 Jason Rumney <jasonr@gnu.org> 222008-08-23 Jason Rumney <jasonr@gnu.org>
2 23
3 * image.c (gif_format): Use :index, not :image. 24 * image.c (gif_format): Use :index, not :image.
4 25
52008-08-21 $,1 P(Bsmail D,Av(Bnmez <ismail@namtrac.org> (tiny change) 262008-08-21 $,1 P(Bsmail D,Av(Bnmez <ismail@namtrac.org> (tiny change)
6 27
7 * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on 28 * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+.
8 GTK+.
9 29
102008-08-20 Andreas Schwab <schwab@suse.de> 302008-08-20 Andreas Schwab <schwab@suse.de>
11 31
diff --git a/src/editfns.c b/src/editfns.c
index c9acebd9d29..0750c74b2f1 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -479,7 +479,7 @@ get_pos_property (position, prop, object)
479 } 479 }
480 } 480 }
481 481
482 { /* Now check the text-properties. */ 482 { /* Now check the text properties. */
483 int stickiness = text_property_stickiness (prop, position, object); 483 int stickiness = text_property_stickiness (prop, position, object);
484 if (stickiness > 0) 484 if (stickiness > 0)
485 return Fget_text_property (position, prop, object); 485 return Fget_text_property (position, prop, object);
@@ -655,7 +655,7 @@ If POS is nil, the value of point is used for POS. */)
655} 655}
656 656
657DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0, 657DEFUN ("field-string-no-properties", Ffield_string_no_properties, Sfield_string_no_properties, 0, 1, 0,
658 doc: /* Return the contents of the field around POS, without text-properties. 658 doc: /* Return the contents of the field around POS, without text properties.
659A field is a region of text with the same `field' property. 659A field is a region of text with the same `field' property.
660If POS is nil, the value of point is used for POS. */) 660If POS is nil, the value of point is used for POS. */)
661 (pos) 661 (pos)
diff --git a/src/fringe.c b/src/fringe.c
index c245085af51..42c6ce58d55 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1407,7 +1407,7 @@ HEIGHT is height of bitmap. If HEIGHT is nil, use length of BITS.
1407WIDTH must be an integer between 1 and 16, or nil which defaults to 8. 1407WIDTH must be an integer between 1 and 16, or nil which defaults to 8.
1408Optional fifth arg ALIGN may be one of `top', `center', or `bottom', 1408Optional fifth arg ALIGN may be one of `top', `center', or `bottom',
1409indicating the positioning of the bitmap relative to the rows where it 1409indicating the positioning of the bitmap relative to the rows where it
1410is used; the default is to center the bitmap. Fourth arg may also be a 1410is used; the default is to center the bitmap. Fifth arg may also be a
1411list (ALIGN PERIODIC) where PERIODIC non-nil specifies that the bitmap 1411list (ALIGN PERIODIC) where PERIODIC non-nil specifies that the bitmap
1412should be repeated. 1412should be repeated.
1413If BITMAP already exists, the existing definition is replaced. */) 1413If BITMAP already exists, the existing definition is replaced. */)
diff --git a/src/minibuf.c b/src/minibuf.c
index 723735e52d6..7f8235d2a9c 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1046,8 +1046,8 @@ DEFUN ("read-minibuffer", Fread_minibuffer, Sread_minibuffer, 1, 2, 0,
1046 doc: /* Return a Lisp object read using the minibuffer, unevaluated. 1046 doc: /* Return a Lisp object read using the minibuffer, unevaluated.
1047Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS 1047Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS
1048is a string to insert in the minibuffer before reading. 1048is a string to insert in the minibuffer before reading.
1049\(INITIAL-CONTENTS can also be a cons of a string and an integer. Such 1049\(INITIAL-CONTENTS can also be a cons of a string and an integer.
1050arguments are used as in `read-from-minibuffer'.) */) 1050Such arguments are used as in `read-from-minibuffer'.) */)
1051 (prompt, initial_contents) 1051 (prompt, initial_contents)
1052 Lisp_Object prompt, initial_contents; 1052 Lisp_Object prompt, initial_contents;
1053{ 1053{
@@ -1061,8 +1061,8 @@ DEFUN ("eval-minibuffer", Feval_minibuffer, Seval_minibuffer, 1, 2, 0,
1061 doc: /* Return value of Lisp expression read using the minibuffer. 1061 doc: /* Return value of Lisp expression read using the minibuffer.
1062Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS 1062Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS
1063is a string to insert in the minibuffer before reading. 1063is a string to insert in the minibuffer before reading.
1064\(INITIAL-CONTENTS can also be a cons of a string and an integer. Such 1064\(INITIAL-CONTENTS can also be a cons of a string and an integer.
1065arguments are used as in `read-from-minibuffer'.) */) 1065Such arguments are used as in `read-from-minibuffer'.) */)
1066 (prompt, initial_contents) 1066 (prompt, initial_contents)
1067 Lisp_Object prompt, initial_contents; 1067 Lisp_Object prompt, initial_contents;
1068{ 1068{
diff --git a/src/textprop.c b/src/textprop.c
index a787f63d2ff..80d47adb68e 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1502,7 +1502,7 @@ the current buffer), START and END are buffer positions (integers or
1502markers). If OBJECT is a string, START and END are 0-based indices into it. 1502markers). If OBJECT is a string, START and END are 0-based indices into it.
1503Return t if any property was actually removed, nil otherwise. 1503Return t if any property was actually removed, nil otherwise.
1504 1504
1505Use set-text-properties if you want to remove all text properties. */) 1505Use `set-text-properties' if you want to remove all text properties. */)
1506 (start, end, properties, object) 1506 (start, end, properties, object)
1507 Lisp_Object start, end, properties, object; 1507 Lisp_Object start, end, properties, object;
1508{ 1508{
@@ -2292,8 +2292,8 @@ Each element has the form (PROPERTY . NONSTICKINESS).
2292 2292
2293If a character in a buffer has PROPERTY, new text inserted adjacent to 2293If a character in a buffer has PROPERTY, new text inserted adjacent to
2294the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil, 2294the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil,
2295inherits it if NONSTICKINESS is nil. The front-sticky and 2295inherits it if NONSTICKINESS is nil. The `front-sticky' and
2296rear-nonsticky properties of the character overrides NONSTICKINESS. */); 2296`rear-nonsticky' properties of the character override NONSTICKINESS. */);
2297 /* Text property `syntax-table' should be nonsticky by default. */ 2297 /* Text property `syntax-table' should be nonsticky by default. */
2298 Vtext_property_default_nonsticky 2298 Vtext_property_default_nonsticky
2299 = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil); 2299 = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil);
diff --git a/src/w32fns.c b/src/w32fns.c
index ba1fe88f824..de0ff4a7481 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -452,7 +452,7 @@ x_real_positions (f, xptr, yptr)
452 452
453DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color, 453DEFUN ("w32-define-rgb-color", Fw32_define_rgb_color,
454 Sw32_define_rgb_color, 4, 4, 0, 454 Sw32_define_rgb_color, 4, 4, 0,
455 doc: /* Convert RGB numbers to a windows color reference and associate with NAME. 455 doc: /* Convert RGB numbers to a Windows color reference and associate with NAME.
456This adds or updates a named color to `w32-color-map', making it 456This adds or updates a named color to `w32-color-map', making it
457available for use. The original entry's RGB ref is returned, or nil 457available for use. The original entry's RGB ref is returned, or nil
458if the entry is new. */) 458if the entry is new. */)
diff --git a/src/xdisp.c b/src/xdisp.c
index 05fd0768bcc..20d30f3217a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -24150,7 +24150,7 @@ If you want scrolling to always be a line at a time, you should set
24150 doc: /* *Scroll up to this many lines, to bring point back on screen. 24150 doc: /* *Scroll up to this many lines, to bring point back on screen.
24151If point moves off-screen, redisplay will scroll by up to 24151If point moves off-screen, redisplay will scroll by up to
24152`scroll-conservatively' lines in order to bring point just barely 24152`scroll-conservatively' lines in order to bring point just barely
24153onto the screen again. If that cannot be done, then redisplay 24153onto the screen again. If that cannot be done, then redisplay
24154recenters point as usual. 24154recenters point as usual.
24155 24155
24156A value of zero means always recenter point if it moves off screen. */); 24156A value of zero means always recenter point if it moves off screen. */);
diff --git a/src/xfaces.c b/src/xfaces.c
index c382ba6d7c5..cfd17150b2b 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2969,7 +2969,7 @@ PATTERN is a string, perhaps with wildcard characters;
2969FACE is a face name--a symbol. 2969FACE is a face name--a symbol.
2970 2970
2971The return value is a list of strings, suitable as arguments to 2971The return value is a list of strings, suitable as arguments to
2972set-face-font. 2972`set-face-font'.
2973 2973
2974Fonts Emacs can't use may or may not be excluded 2974Fonts Emacs can't use may or may not be excluded
2975even if they match PATTERN and FACE. 2975even if they match PATTERN and FACE.
@@ -3954,7 +3954,7 @@ DEFUN ("internal-copy-lisp-face", Finternal_copy_lisp_face,
3954If FRAME is t, copy the global face definition of FROM. 3954If FRAME is t, copy the global face definition of FROM.
3955Otherwise, copy the frame-local definition of FROM on FRAME. 3955Otherwise, copy the frame-local definition of FROM on FRAME.
3956If NEW-FRAME is a frame, copy that data into the frame-local 3956If NEW-FRAME is a frame, copy that data into the frame-local
3957definition of TO on NEW-FRAME. If NEW-FRAME is nil. 3957definition of TO on NEW-FRAME. If NEW-FRAME is nil,
3958FRAME controls where the data is copied to. 3958FRAME controls where the data is copied to.
3959 3959
3960The value is TO. */) 3960The value is TO. */)
diff --git a/src/xselect.c b/src/xselect.c
index 156f3bf1302..c5e417028a8 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -2802,7 +2802,7 @@ If DEST is a cons, it is converted to a 32 bit number
2802with the high 16 bits from the car and the lower 16 bit from the cdr. That 2802with the high 16 bits from the car and the lower 16 bit from the cdr. That
2803number is then used as a window id. 2803number is then used as a window id.
2804If DEST is a frame the event is sent to the outer window of that frame. 2804If DEST is a frame the event is sent to the outer window of that frame.
2805Nil means the currently selected frame. 2805A value of nil means the currently selected frame.
2806If DEST is the string "PointerWindow" the event is sent to the window that 2806If DEST is the string "PointerWindow" the event is sent to the window that
2807contains the pointer. If DEST is the string "InputFocus" the event is 2807contains the pointer. If DEST is the string "InputFocus" the event is
2808sent to the window that has the input focus. 2808sent to the window that has the input focus.