changeset 107446:93cf07b171cc

(hide-sublevels): Unfix the paren non-typo! (bug#5738).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 20 Mar 2010 15:04:44 -0400
parents 4f21cfcfbb42
children 9d443ad80849
files lisp/ChangeLog lisp/outline.el
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Mar 20 11:17:59 2010 -0700
+++ b/lisp/ChangeLog	Sat Mar 20 15:04:44 2010 -0400
@@ -1,3 +1,7 @@
+2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
+
 2010-03-20  Glenn Morris  <rgm@gnu.org>
 
 	* textmodes/rst.el: Use faces for font-lock customization, and make the
--- a/lisp/outline.el	Sat Mar 20 11:17:59 2010 -0700
+++ b/lisp/outline.el	Sat Mar 20 15:04:44 2010 -0400
@@ -914,12 +914,12 @@
       (outline-map-region
        (lambda ()
 	 (if (<= (funcall outline-level) levels)
-	     (outline-show-heading)
-           beg end))
-       ;; Finally unhide any trailing newline.
-       (goto-char (point-max))
-       (if (and (bolp) (not (bobp)) (outline-invisible-p (1- (point))))
-           (outline-flag-region (1- (point)) (point) nil)))))
+	     (outline-show-heading)))
+       beg end)
+      ;; Finally unhide any trailing newline.
+      (goto-char (point-max))
+      (if (and (bolp) (not (bobp)) (outline-invisible-p (1- (point))))
+          (outline-flag-region (1- (point)) (point) nil))))
   (run-hooks 'outline-view-change-hook))
 
 (defun hide-other ()