diff options
| author | Glenn Morris | 2014-10-29 22:15:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-10-29 22:15:28 -0700 |
| commit | 52b410c60aebeb769ec9580af25ca50df2a44751 (patch) | |
| tree | ba5de0b896c5ea410ceb2f2f1866c0fac73ea236 /src | |
| parent | cc99f920f507d28bb1422f8a3d52723ddc734c8a (diff) | |
| parent | 237bf45a48999d5a8a3617822dddf3ea305bc269 (diff) | |
| download | emacs-52b410c60aebeb769ec9580af25ca50df2a44751.tar.gz emacs-52b410c60aebeb769ec9580af25ca50df2a44751.zip | |
Merge from emacs-24; up to 117634
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/dispnew.c | 2 | ||||
| -rw-r--r-- | src/fileio.c | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 25009f8a310..89c0bb8fd8e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2014-10-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (Fexpand_file_name): Use make_unibyte_string, not | ||
| 4 | build_string, when importing a home directory. (Bug#18873) | ||
| 5 | |||
| 6 | * dispnew.c (buffer_posn_from_coords): Use | ||
| 7 | WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to | ||
| 8 | account for the header-line height. (Bug#18839) | ||
| 9 | |||
| 1 | 2014-10-28 Ulf Jasper <ulf.jasper@web.de> | 10 | 2014-10-28 Ulf Jasper <ulf.jasper@web.de> |
| 2 | 11 | ||
| 3 | * xml.c (parse_region): Do not forget the first document child. | 12 | * xml.c (parse_region): Do not forget the first document child. |
diff --git a/src/dispnew.c b/src/dispnew.c index 3ab8bcf3e64..900912d9d97 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -5205,7 +5205,7 @@ buffer_posn_from_coords (struct window *w, int *x, int *y, struct display_pos *p | |||
| 5205 | start position, i.e. it excludes the header-line row, but | 5205 | start position, i.e. it excludes the header-line row, but |
| 5206 | MATRIX_ROW includes the header-line row. Adjust for a possible | 5206 | MATRIX_ROW includes the header-line row. Adjust for a possible |
| 5207 | header-line row. */ | 5207 | header-line row. */ |
| 5208 | it_vpos = it.vpos + WINDOW_WANTS_MODELINE_P (w); | 5208 | it_vpos = it.vpos + WINDOW_WANTS_HEADER_LINE_P (w); |
| 5209 | if (it_vpos < w->current_matrix->nrows | 5209 | if (it_vpos < w->current_matrix->nrows |
| 5210 | && (row = MATRIX_ROW (w->current_matrix, it_vpos), | 5210 | && (row = MATRIX_ROW (w->current_matrix, it_vpos), |
| 5211 | row->enabled_p)) | 5211 | row->enabled_p)) |
diff --git a/src/fileio.c b/src/fileio.c index 4ba1c5914e8..cdbd0be28ad 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1163,7 +1163,7 @@ filesystem tree, not (expand-file-name ".." dirname). */) | |||
| 1163 | char newdir_utf8[MAX_UTF8_PATH]; | 1163 | char newdir_utf8[MAX_UTF8_PATH]; |
| 1164 | 1164 | ||
| 1165 | filename_from_ansi (newdir, newdir_utf8); | 1165 | filename_from_ansi (newdir, newdir_utf8); |
| 1166 | tem = build_string (newdir_utf8); | 1166 | tem = make_unibyte_string (newdir_utf8, strlen (newdir_utf8)); |
| 1167 | } | 1167 | } |
| 1168 | else | 1168 | else |
| 1169 | #endif | 1169 | #endif |
| @@ -1199,7 +1199,7 @@ filesystem tree, not (expand-file-name ".." dirname). */) | |||
| 1199 | /* `getpwnam' may return a unibyte string, which will | 1199 | /* `getpwnam' may return a unibyte string, which will |
| 1200 | bite us since we expect the directory to be | 1200 | bite us since we expect the directory to be |
| 1201 | multibyte. */ | 1201 | multibyte. */ |
| 1202 | tem = build_string (newdir); | 1202 | tem = make_unibyte_string (newdir, strlen (newdir)); |
| 1203 | newdirlim = newdir + SBYTES (tem); | 1203 | newdirlim = newdir + SBYTES (tem); |
| 1204 | if (multibyte && !STRING_MULTIBYTE (tem)) | 1204 | if (multibyte && !STRING_MULTIBYTE (tem)) |
| 1205 | { | 1205 | { |