diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/outline.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/outline.el b/lisp/outline.el index 0cd6eaa7186..0ec527060a1 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -894,7 +894,8 @@ Show the heading too, if it is currently invisible." | |||
| 894 | (or first (> (funcall outline-level) level))) | 894 | (or first (> (funcall outline-level) level))) |
| 895 | (setq first nil) | 895 | (setq first nil) |
| 896 | (outline-next-heading)) | 896 | (outline-next-heading)) |
| 897 | (if (bolp) | 897 | (if (and (bolp) (not (eolp))) |
| 898 | ;; We stopped at a nonempty line (the next heading). | ||
| 898 | (progn | 899 | (progn |
| 899 | ;; Go to end of line before heading | 900 | ;; Go to end of line before heading |
| 900 | (forward-char -1) | 901 | (forward-char -1) |