diff options
| author | Paul Eggert | 2019-09-03 21:54:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-09-03 22:46:12 -0700 |
| commit | bbe45091de5418a85fb3b429b40747d66485bb6e (patch) | |
| tree | f72ac1c49f38eaa54c6f7cdaddaa919bb1197c89 | |
| parent | 97cfda2638afc7fed6ac7e465c6fe927f428a932 (diff) | |
| download | emacs-bbe45091de5418a85fb3b429b40747d66485bb6e.tar.gz emacs-bbe45091de5418a85fb3b429b40747d66485bb6e.zip | |
* src/xdisp.c (hscroll_window_tree): Fix type typo.
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 75bc536cb9f..94f969f37cf 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13509,7 +13509,8 @@ hscroll_window_tree (Lisp_Object window) | |||
| 13509 | get glyph rows whose start and end have zero buffer | 13509 | get glyph rows whose start and end have zero buffer |
| 13510 | positions, which we cannot handle below. Just skip | 13510 | positions, which we cannot handle below. Just skip |
| 13511 | such windows. */ | 13511 | such windows. */ |
| 13512 | && CHARPOS (cursor_row->start.pos) >= BUF_BEG (w->contents) | 13512 | && (CHARPOS (cursor_row->start.pos) |
| 13513 | >= BUF_BEG (XBUFFER (w->contents))) | ||
| 13513 | /* For left-to-right rows, hscroll when cursor is either | 13514 | /* For left-to-right rows, hscroll when cursor is either |
| 13514 | (i) inside the right hscroll margin, or (ii) if it is | 13515 | (i) inside the right hscroll margin, or (ii) if it is |
| 13515 | inside the left margin and the window is already | 13516 | inside the left margin and the window is already |