diff options
| author | Stefan Monnier | 2010-03-18 23:32:47 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-03-18 23:32:47 -0400 |
| commit | f430423d720bb4c3a36e828999e5cdb675b29579 (patch) | |
| tree | 9fd4ee39f6f1e0f3782afcb89707f0878b61dfb0 | |
| parent | 7ba100522f97b32d6c80a6987b584396dc16d9b9 (diff) | |
| download | emacs-f430423d720bb4c3a36e828999e5cdb675b29579.tar.gz emacs-f430423d720bb4c3a36e828999e5cdb675b29579.zip | |
(hide-sublevels): Don't hide trailing newline (and fix paren typo).
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/outline.el | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4cdff3848be..3ff90f20d21 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * outline.el (hide-sublevels): Don't hide trailing newline (and fix | ||
| 4 | parent typo). | ||
| 5 | |||
| 1 | 2010-03-19 Glenn Morris <rgm@gnu.org> | 6 | 2010-03-19 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * password-cache.el (password-cache, password-cache-expiry): | 8 | * password-cache.el (password-cache, password-cache-expiry): Autoload. |
| 4 | Autoload. | ||
| 5 | 9 | ||
| 6 | 2010-03-18 Glenn Morris <rgm@gnu.org> | 10 | 2010-03-18 Glenn Morris <rgm@gnu.org> |
| 7 | 11 | ||
| @@ -37,8 +41,8 @@ | |||
| 37 | 2010-03-15 Michael Albinus <michael.albinus@gmx.de> | 41 | 2010-03-15 Michael Albinus <michael.albinus@gmx.de> |
| 38 | 42 | ||
| 39 | * net/secrets.el (top): Register the D-Bus signals only when the | 43 | * net/secrets.el (top): Register the D-Bus signals only when the |
| 40 | service "org.freedesktop.secrets" can be pinged. Provide | 44 | service "org.freedesktop.secrets" can be pinged. |
| 41 | subfeature 'enabled. | 45 | Provide subfeature `enabled'. |
| 42 | 46 | ||
| 43 | 2010-03-14 Juri Linkov <juri@jurta.org> | 47 | 2010-03-14 Juri Linkov <juri@jurta.org> |
| 44 | 48 | ||
diff --git a/lisp/outline.el b/lisp/outline.el index 5b10de231f2..549a8844615 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -914,8 +914,12 @@ Show the heading too, if it is currently invisible." | |||
| 914 | (outline-map-region | 914 | (outline-map-region |
| 915 | (lambda () | 915 | (lambda () |
| 916 | (if (<= (funcall outline-level) levels) | 916 | (if (<= (funcall outline-level) levels) |
| 917 | (outline-show-heading))) | 917 | (outline-show-heading) |
| 918 | beg end))) | 918 | beg end)) |
| 919 | ;; Finally unhide any trailing newline. | ||
| 920 | (goto-char (point-max)) | ||
| 921 | (if (and (bolp) (not (bobp)) (outline-invisible-p (1- (point)))) | ||
| 922 | (outline-flag-region (1- (point)) (point) nil))))) | ||
| 919 | (run-hooks 'outline-view-change-hook)) | 923 | (run-hooks 'outline-view-change-hook)) |
| 920 | 924 | ||
| 921 | (defun hide-other () | 925 | (defun hide-other () |