diff options
| author | Paul Eggert | 2016-06-26 00:16:25 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-06-26 00:16:25 +0200 |
| commit | fdcf46d33eebc59e56a35fcea186c61aad3c81d0 (patch) | |
| tree | 8db131d7f52ead80ee12e52c3236510f71b31b48 /src | |
| parent | d6930356cabd3036e445cc6a2f668b1fd3e0cde4 (diff) | |
| parent | 0377fe2b819bb93ac7dc314c8dbd99304d8b98d0 (diff) | |
| download | emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.tar.gz emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.zip | |
Merge from origin/emacs-25
0377fe2 ; Spelling fixes
f253695 Update docs for `customize-mode'
4395aaa Fix documentation of 'assoc-string' and 'compare-strings'
ab0ebb9 ; Only load .elc file in tests.
a98aa02 Error on multibyte characters in HTTP request
ea512a7 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th...
8297331 ; Revert "Ensure undo-boundary after insert-file-contents."
dc5e65b Unset GIT_DIR when calling Git commands
6cdd8f7 Ensure undo-boundary after insert-file-contents.
4793f5f Clarify documentation of 'line-spacing' and 'line-height'
5f37572 Fix removal of variables from process-environment
e5e886d * admin/authors.el (authors-ignored-files, authors-valid-file...
db0777b * admin/authors.el (authors-aliases, authors-fixed-case): Add...
# Conflicts:
# doc/lispref/modes.texi
# lisp/gnus/mm-decode.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 2 | ||||
| -rw-r--r-- | src/fns.c | 2 | ||||
| -rw-r--r-- | src/minibuf.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c index 07297820cac..7008b916dad 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -1094,7 +1094,7 @@ add_env (char **env, char **new_env, char *string) | |||
| 1094 | char *p = *ep, *q = string; | 1094 | char *p = *ep, *q = string; |
| 1095 | while (ok) | 1095 | while (ok) |
| 1096 | { | 1096 | { |
| 1097 | if (*q != *p) | 1097 | if (*p && *q != *p) |
| 1098 | break; | 1098 | break; |
| 1099 | if (*q == 0) | 1099 | if (*q == 0) |
| 1100 | /* The string is a lone variable name; keep it for now, we | 1100 | /* The string is a lone variable name; keep it for now, we |
| @@ -226,7 +226,7 @@ Like in `substring', negative values are counted from the end. | |||
| 226 | The strings are compared by the numeric values of their characters. | 226 | The strings are compared by the numeric values of their characters. |
| 227 | For instance, STR1 is "less than" STR2 if its first differing | 227 | For instance, STR1 is "less than" STR2 if its first differing |
| 228 | character has a smaller numeric value. If IGNORE-CASE is non-nil, | 228 | character has a smaller numeric value. If IGNORE-CASE is non-nil, |
| 229 | characters are converted to lower-case before comparing them. Unibyte | 229 | characters are converted to upper-case before comparing them. Unibyte |
| 230 | strings are converted to multibyte for comparison. | 230 | strings are converted to multibyte for comparison. |
| 231 | 231 | ||
| 232 | The value is t if the strings (or specified portions) match. | 232 | The value is t if the strings (or specified portions) match. |
diff --git a/src/minibuf.c b/src/minibuf.c index 7bad6f0e018..efce7e26b29 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1838,8 +1838,8 @@ DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, | |||
| 1838 | This returns the first element of LIST whose car matches the string or | 1838 | This returns the first element of LIST whose car matches the string or |
| 1839 | symbol KEY, or nil if no match exists. When performing the | 1839 | symbol KEY, or nil if no match exists. When performing the |
| 1840 | comparison, symbols are first converted to strings, and unibyte | 1840 | comparison, symbols are first converted to strings, and unibyte |
| 1841 | strings to multibyte. If the optional arg CASE-FOLD is non-nil, case | 1841 | strings to multibyte. If the optional arg CASE-FOLD is non-nil, both |
| 1842 | is ignored. | 1842 | KEY and the elements of LIST are upcased for comparison. |
| 1843 | 1843 | ||
| 1844 | Unlike `assoc', KEY can also match an entry in LIST consisting of a | 1844 | Unlike `assoc', KEY can also match an entry in LIST consisting of a |
| 1845 | single string, rather than a cons cell whose car is a string. */) | 1845 | single string, rather than a cons cell whose car is a string. */) |