]> code.delx.au - gnu-emacs/commitdiff
(hide-sublevels): Unfix the paren non-typo! (bug#5738).
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 20 Mar 2010 19:04:44 +0000 (15:04 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 20 Mar 2010 19:04:44 +0000 (15:04 -0400)
lisp/ChangeLog
lisp/outline.el

index dacfd61d975aed0b39bd7ec685b094ba5f710384..0bc49473e13d9c615c5a20d71525f1ddaa292dc7 100644 (file)
@@ -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
index 549a88446153e56a70d9da489afbfd9de8b68b14..ed7d5f33a35c8311217bbd7b5c6f95e86dbc4374 100644 (file)
@@ -914,12 +914,12 @@ Show the heading too, if it is currently invisible."
       (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 ()