diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
4 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 61ef1a21065..2973fa64360 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-08-23 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * help.el (help-window-setup): Fix message displayed when other | ||
| 4 | window is reused. (Bug#9341) | ||
| 5 | |||
| 1 | 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list. | 8 | * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list. |
diff --git a/lisp/help.el b/lisp/help.el index e6496f625d1..710dc34ea89 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -1104,7 +1104,7 @@ This relies on `display-buffer-window' being correctly set up by | |||
| 1104 | ((eq help-value 'new-window) | 1104 | ((eq help-value 'new-window) |
| 1105 | "Type \\[delete-other-windows] to delete the help window") | 1105 | "Type \\[delete-other-windows] to delete the help window") |
| 1106 | ((eq help-value 'reuse-other-window) | 1106 | ((eq help-value 'reuse-other-window) |
| 1107 | "Type \\[switch-to-prev-buffer] RET to restore previous buffer")) | 1107 | "Type \"q\" in other window to quit")) |
| 1108 | help-window 'other)) | 1108 | help-window 'other)) |
| 1109 | (t | 1109 | (t |
| 1110 | ;; Not much to say here. | 1110 | ;; Not much to say here. |
diff --git a/src/ChangeLog b/src/ChangeLog index d4f654a1028..1b1a8f67e43 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-08-23 Eli Zaretskii <eliz@gnu.org> | 1 | 2011-08-23 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (redisplay_window): When computing centering_position, | ||
| 4 | account for the height of the header line. (Bug#8874) | ||
| 5 | |||
| 3 | * dispnew.c (buffer_posn_from_coords): Use buf_charpos_to_bytepos | 6 | * dispnew.c (buffer_posn_from_coords): Use buf_charpos_to_bytepos |
| 4 | instead of CHAR_TO_BYTE. Fixes a crash when a completion | 7 | instead of CHAR_TO_BYTE. Fixes a crash when a completion |
| 5 | candidate is selected by the mouse, and that candidate has a | 8 | candidate is selected by the mouse, and that candidate has a |
diff --git a/src/xdisp.c b/src/xdisp.c index 6fbbc69a7ca..f38c2828b8e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -15305,7 +15305,8 @@ redisplay_window (Lisp_Object window, int just_this_one_p) | |||
| 15305 | if (pt_offset) | 15305 | if (pt_offset) |
| 15306 | centering_position -= pt_offset; | 15306 | centering_position -= pt_offset; |
| 15307 | centering_position -= | 15307 | centering_position -= |
| 15308 | FRAME_LINE_HEIGHT (f) * (1 + margin + (last_line_misfit != 0)); | 15308 | FRAME_LINE_HEIGHT (f) * (1 + margin + (last_line_misfit != 0)) |
| 15309 | + WINDOW_HEADER_LINE_HEIGHT (w); | ||
| 15309 | /* Don't let point enter the scroll margin near top of | 15310 | /* Don't let point enter the scroll margin near top of |
| 15310 | the window. */ | 15311 | the window. */ |
| 15311 | if (centering_position < margin * FRAME_LINE_HEIGHT (f)) | 15312 | if (centering_position < margin * FRAME_LINE_HEIGHT (f)) |