diff options
| author | John Wiegley | 2016-03-03 23:53:38 -0800 |
|---|---|---|
| committer | John Wiegley | 2016-03-03 23:53:38 -0800 |
| commit | 17982e08d71bcb5b1d02d068ae1e6cc1903d6015 (patch) | |
| tree | 074bbbb29ae6e0419220938d92d056dd7b93bb1f /src | |
| parent | 5c6cc95c9a56b19410e314c0d98d37cad87a9bd0 (diff) | |
| parent | d6f6b7db92bf15f18567ef746c0e23a0868643e7 (diff) | |
| download | emacs-17982e08d71bcb5b1d02d068ae1e6cc1903d6015.tar.gz emacs-17982e08d71bcb5b1d02d068ae1e6cc1903d6015.zip | |
Merge from origin/emacs-25
d6f6b7d * etc/AUTHORS: Update the AUTHORS file
5cf7c39 authors.el updates
a26f193 ; fix changelog entries
fbc85c7 ; make change-history-commit
06da00c Fix Bug#22859
ab30bf5 ; * src/w32proc.c: Update the commentary to sys_select.
1481029 Fix reordering of bidi text in an isolate inside an override
60e0596 Document c-guess-basic-syntax in the CC Mode manual.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bidi.c | 13 | ||||
| -rw-r--r-- | src/w32proc.c | 7 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/bidi.c b/src/bidi.c index 9b714543dd2..e7787054e23 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -1919,8 +1919,6 @@ bidi_resolve_explicit (struct bidi_it *bidi_it) | |||
| 1919 | { | 1919 | { |
| 1920 | eassert (bidi_it->prev.charpos == bidi_it->charpos - 1); | 1920 | eassert (bidi_it->prev.charpos == bidi_it->charpos - 1); |
| 1921 | prev_type = bidi_it->prev.orig_type; | 1921 | prev_type = bidi_it->prev.orig_type; |
| 1922 | if (prev_type == FSI) | ||
| 1923 | prev_type = bidi_it->type_after_wn; | ||
| 1924 | } | 1922 | } |
| 1925 | } | 1923 | } |
| 1926 | /* Don't move at end of buffer/string. */ | 1924 | /* Don't move at end of buffer/string. */ |
| @@ -1935,8 +1933,6 @@ bidi_resolve_explicit (struct bidi_it *bidi_it) | |||
| 1935 | emacs_abort (); | 1933 | emacs_abort (); |
| 1936 | bidi_it->bytepos += bidi_it->ch_len; | 1934 | bidi_it->bytepos += bidi_it->ch_len; |
| 1937 | prev_type = bidi_it->orig_type; | 1935 | prev_type = bidi_it->orig_type; |
| 1938 | if (prev_type == FSI) | ||
| 1939 | prev_type = bidi_it->type_after_wn; | ||
| 1940 | } | 1936 | } |
| 1941 | else /* EOB or end of string */ | 1937 | else /* EOB or end of string */ |
| 1942 | prev_type = NEUTRAL_B; | 1938 | prev_type = NEUTRAL_B; |
| @@ -2091,10 +2087,17 @@ bidi_resolve_explicit (struct bidi_it *bidi_it) | |||
| 2091 | if (typ1 != STRONG_R && typ1 != STRONG_AL) | 2087 | if (typ1 != STRONG_R && typ1 != STRONG_AL) |
| 2092 | { | 2088 | { |
| 2093 | type = LRI; | 2089 | type = LRI; |
| 2090 | /* Override orig_type, which will be needed when we come to | ||
| 2091 | examine the next character, which is the first character | ||
| 2092 | inside the isolate. */ | ||
| 2093 | bidi_it->orig_type = type; | ||
| 2094 | goto fsi_as_lri; | 2094 | goto fsi_as_lri; |
| 2095 | } | 2095 | } |
| 2096 | else | 2096 | else |
| 2097 | type = RLI; | 2097 | { |
| 2098 | type = RLI; | ||
| 2099 | bidi_it->orig_type = type; | ||
| 2100 | } | ||
| 2098 | /* FALLTHROUGH */ | 2101 | /* FALLTHROUGH */ |
| 2099 | case RLI: /* X5a */ | 2102 | case RLI: /* X5a */ |
| 2100 | if (override == NEUTRAL_DIR) | 2103 | if (override == NEUTRAL_DIR) |
diff --git a/src/w32proc.c b/src/w32proc.c index a89a9850466..85ddbfd9c7b 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -2062,10 +2062,11 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) | |||
| 2062 | return pid; | 2062 | return pid; |
| 2063 | } | 2063 | } |
| 2064 | 2064 | ||
| 2065 | /* Emulate the select call | 2065 | /* Emulate the select call. |
| 2066 | Wait for available input on any of the given rfds, or timeout if | 2066 | Wait for available input on any of the given rfds, or timeout if |
| 2067 | a timeout is given and no input is detected | 2067 | a timeout is given and no input is detected. wfds are supported |
| 2068 | wfds and efds are not supported and must be NULL. | 2068 | only for asynchronous 'connect' calls. efds are not supported |
| 2069 | and must be NULL. | ||
| 2069 | 2070 | ||
| 2070 | For simplicity, we detect the death of child processes here and | 2071 | For simplicity, we detect the death of child processes here and |
| 2071 | synchronously call the SIGCHLD handler. Since it is possible for | 2072 | synchronously call the SIGCHLD handler. Since it is possible for |