aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2020-02-13 07:50:24 -0800
committerGlenn Morris2020-02-13 07:50:24 -0800
commit56ce263f506fede328888a321a12b1f85f46d0d5 (patch)
tree1d881d6ca6c46b62cffaa93e25ff4b88f3bcc2c7 /src
parent5b160b39c43b7e3d4e377832c306e2e48b53e7e1 (diff)
parentad5e350ab764f3a420d29f24ab3222f671b2e8c0 (diff)
downloademacs-56ce263f506fede328888a321a12b1f85f46d0d5.tar.gz
emacs-56ce263f506fede328888a321a12b1f85f46d0d5.zip
Merge from origin/emacs-27
ad5e350ab7 c-end-of-macro: Handle block coment lines with unescaped N... 06c302d425 Fix set-fontset-font with ADD arg non-nil 530067463b Correct "different than" to "different from" where appropr... 56b8768b32 More accurate documentation of 'package-menu-hide-package'
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c4
-rw-r--r--src/editfns.c4
-rw-r--r--src/fontset.c2
-rw-r--r--src/frame.h2
-rw-r--r--src/regex-emacs.c2
-rw-r--r--src/xfaces.c10
6 files changed, 12 insertions, 12 deletions
diff --git a/src/cmds.c b/src/cmds.c
index 462cb661d54..5d7a45e65f6 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -159,7 +159,7 @@ With argument N not nil or 1, move forward N - 1 lines first.
159If point reaches the beginning or end of buffer, it stops there. 159If point reaches the beginning or end of buffer, it stops there.
160 160
161This function constrains point to the current field unless this moves 161This function constrains point to the current field unless this moves
162point to a different line than the original, unconstrained result. 162point to a different line from the original, unconstrained result.
163If N is nil or 1, and a front-sticky field starts at point, the point 163If N is nil or 1, and a front-sticky field starts at point, the point
164does not move. To ignore field boundaries bind 164does not move. To ignore field boundaries bind
165`inhibit-field-text-motion' to t, or use the `forward-line' function 165`inhibit-field-text-motion' to t, or use the `forward-line' function
@@ -184,7 +184,7 @@ If point reaches the beginning or end of buffer, it stops there.
184To ignore intangibility, bind `inhibit-point-motion-hooks' to t. 184To ignore intangibility, bind `inhibit-point-motion-hooks' to t.
185 185
186This function constrains point to the current field unless this moves 186This function constrains point to the current field unless this moves
187point to a different line than the original, unconstrained result. If 187point to a different line from the original, unconstrained result. If
188N is nil or 1, and a rear-sticky field ends at point, the point does 188N is nil or 1, and a rear-sticky field ends at point, the point does
189not move. To ignore field boundaries bind `inhibit-field-text-motion' 189not move. To ignore field boundaries bind `inhibit-field-text-motion'
190to t. */) 190to t. */)
diff --git a/src/editfns.c b/src/editfns.c
index 3f1b3aa4b75..05ad3925813 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -717,7 +717,7 @@ position of the first character in logical order, i.e. the smallest
717character position on the line. 717character position on the line.
718 718
719This function constrains the returned position to the current field 719This function constrains the returned position to the current field
720unless that position would be on a different line than the original, 720unless that position would be on a different line from the original,
721unconstrained result. If N is nil or 1, and a front-sticky field 721unconstrained result. If N is nil or 1, and a front-sticky field
722starts at point, the scan stops as soon as it starts. To ignore field 722starts at point, the scan stops as soon as it starts. To ignore field
723boundaries, bind `inhibit-field-text-motion' to t. 723boundaries, bind `inhibit-field-text-motion' to t.
@@ -750,7 +750,7 @@ position of the last character in logical order, i.e. the largest
750character position on the line. 750character position on the line.
751 751
752This function constrains the returned position to the current field 752This function constrains the returned position to the current field
753unless that would be on a different line than the original, 753unless that would be on a different line from the original,
754unconstrained result. If N is nil or 1, and a rear-sticky field ends 754unconstrained result. If N is nil or 1, and a rear-sticky field ends
755at point, the scan stops as soon as it starts. To ignore field 755at point, the scan stops as soon as it starts. To ignore field
756boundaries bind `inhibit-field-text-motion' to t. 756boundaries bind `inhibit-field-text-motion' to t.
diff --git a/src/fontset.c b/src/fontset.c
index 22b7618d8aa..bca9452418e 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -353,7 +353,7 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec
353 (NILP (args[idx]) ? args[1 - idx] 353 (NILP (args[idx]) ? args[1 - idx]
354 : CALLMANY (Fvconcat, args))); 354 : CALLMANY (Fvconcat, args)));
355 from = to1 + 1; 355 from = to1 + 1;
356 } while (from < to); 356 } while (from <= to);
357 } 357 }
358 else 358 else
359 { 359 {
diff --git a/src/frame.h b/src/frame.h
index 68dc0ce3649..641bb430d0e 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -108,7 +108,7 @@ struct frame
108 to redirect keystrokes to a surrogate minibuffer frame when 108 to redirect keystrokes to a surrogate minibuffer frame when
109 needed. 109 needed.
110 110
111 Note that a value of nil is different than having the field point 111 Note that a value of nil is different from having the field point
112 to the frame itself. Whenever the Fselect_frame function is used 112 to the frame itself. Whenever the Fselect_frame function is used
113 to shift from one frame to the other, any redirections to the 113 to shift from one frame to the other, any redirections to the
114 original frame are shifted to the newly selected frame; if 114 original frame are shifted to the newly selected frame; if
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 552216cd87b..694431c95e2 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -3932,7 +3932,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp,
3932 allocate space for that if we're not allocating space for anything 3932 allocate space for that if we're not allocating space for anything
3933 else (see below). Also, we never need info about register 0 for 3933 else (see below). Also, we never need info about register 0 for
3934 any of the other register vectors, and it seems rather a kludge to 3934 any of the other register vectors, and it seems rather a kludge to
3935 treat 'best_regend' differently than the rest. So we keep track of 3935 treat 'best_regend' differently from the rest. So we keep track of
3936 the end of the best match so far in a separate variable. We 3936 the end of the best match so far in a separate variable. We
3937 initialize this to NULL so that when we backtrack the first time 3937 initialize this to NULL so that when we backtrack the first time
3938 and need to test it, it's not garbage. */ 3938 and need to test it, it's not garbage. */
diff --git a/src/xfaces.c b/src/xfaces.c
index 3689b9ee7d3..91a7a8533e8 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4940,7 +4940,7 @@ DEFUN ("face-attributes-as-vector", Fface_attributes_as_vector,
4940 that a face containing all the attributes in ATTRS, when merged with the 4940 that a face containing all the attributes in ATTRS, when merged with the
4941 default face for display, can be represented in a way that's 4941 default face for display, can be represented in a way that's
4942 4942
4943 (1) different in appearance than the default face, and 4943 (1) different in appearance from the default face, and
4944 (2) `close in spirit' to what the attributes specify, if not exact. */ 4944 (2) `close in spirit' to what the attributes specify, if not exact. */
4945 4945
4946static bool 4946static bool
@@ -5043,7 +5043,7 @@ gui_supports_face_attributes_p (struct frame *f,
5043 that a face containing all the attributes in ATTRS, when merged 5043 that a face containing all the attributes in ATTRS, when merged
5044 with the default face for display, can be represented in a way that's 5044 with the default face for display, can be represented in a way that's
5045 5045
5046 (1) different in appearance than the default face, and 5046 (1) different in appearance from the default face, and
5047 (2) `close in spirit' to what the attributes specify, if not exact. 5047 (2) `close in spirit' to what the attributes specify, if not exact.
5048 5048
5049 Point (2) implies that a `:weight black' attribute will be satisfied 5049 Point (2) implies that a `:weight black' attribute will be satisfied
@@ -5160,7 +5160,7 @@ tty_supports_face_attributes_p (struct frame *f,
5160 > TTY_SAME_COLOR_THRESHOLD) 5160 > TTY_SAME_COLOR_THRESHOLD)
5161 return false; /* displayed color is too different */ 5161 return false; /* displayed color is too different */
5162 else 5162 else
5163 /* Make sure the color is really different than the default. */ 5163 /* Make sure the color is really different from the default. */
5164 { 5164 {
5165 Emacs_Color def_fg_color; 5165 Emacs_Color def_fg_color;
5166 if (tty_lookup_color (f, def_fg, &def_fg_color, 0) 5166 if (tty_lookup_color (f, def_fg, &def_fg_color, 0)
@@ -5184,7 +5184,7 @@ tty_supports_face_attributes_p (struct frame *f,
5184 > TTY_SAME_COLOR_THRESHOLD) 5184 > TTY_SAME_COLOR_THRESHOLD)
5185 return false; /* displayed color is too different */ 5185 return false; /* displayed color is too different */
5186 else 5186 else
5187 /* Make sure the color is really different than the default. */ 5187 /* Make sure the color is really different from the default. */
5188 { 5188 {
5189 Emacs_Color def_bg_color; 5189 Emacs_Color def_bg_color;
5190 if (tty_lookup_color (f, def_bg, &def_bg_color, 0) 5190 if (tty_lookup_color (f, def_bg, &def_bg_color, 0)
@@ -5226,7 +5226,7 @@ The definition of `supported' is somewhat heuristic, but basically means
5226that a face containing all the attributes in ATTRIBUTES, when merged 5226that a face containing all the attributes in ATTRIBUTES, when merged
5227with the default face for display, can be represented in a way that's 5227with the default face for display, can be represented in a way that's
5228 5228
5229 (1) different in appearance than the default face, and 5229 (1) different in appearance from the default face, and
5230 (2) `close in spirit' to what the attributes specify, if not exact. 5230 (2) `close in spirit' to what the attributes specify, if not exact.
5231 5231
5232Point (2) implies that a `:weight black' attribute will be satisfied by 5232Point (2) implies that a `:weight black' attribute will be satisfied by