diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/outline.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cf5ccd24e54..b862d42b961 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com> | ||
| 2 | |||
| 3 | * outline.el (outline-show-entry): Fix one invisible char for the | ||
| 4 | file's last outline. Fixes Bug#19493. | ||
| 5 | |||
| 1 | 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * subr.el (indirect-function): Change advertised calling convention. | 8 | * subr.el (indirect-function): Change advertised calling convention. |
diff --git a/lisp/outline.el b/lisp/outline.el index ae31b8088f0..059ca626586 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -777,7 +777,12 @@ Show the heading too, if it is currently invisible." | |||
| 777 | (save-excursion | 777 | (save-excursion |
| 778 | (outline-back-to-heading t) | 778 | (outline-back-to-heading t) |
| 779 | (outline-flag-region (1- (point)) | 779 | (outline-flag-region (1- (point)) |
| 780 | (progn (outline-next-preface) (point)) nil))) | 780 | (progn |
| 781 | (outline-next-preface) | ||
| 782 | (if (= 1 (- (point-max) (point))) | ||
| 783 | (point-max) | ||
| 784 | (point))) | ||
| 785 | nil))) | ||
| 781 | 786 | ||
| 782 | (define-obsolete-function-alias | 787 | (define-obsolete-function-alias |
| 783 | 'show-entry 'outline-show-entry "25.1") | 788 | 'show-entry 'outline-show-entry "25.1") |