emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99707: (hide-sublevels): Unfix the p


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99707: (hide-sublevels): Unfix the paren non-typo! (bug#5738).
Date: Sat, 20 Mar 2010 15:04:44 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99707
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sat 2010-03-20 15:04:44 -0400
message:
  (hide-sublevels): Unfix the paren non-typo! (bug#5738).
modified:
  lisp/ChangeLog
  lisp/outline.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-03-20 18:17:59 +0000
+++ b/lisp/ChangeLog    2010-03-20 19:04:44 +0000
@@ -1,3 +1,7 @@
+2010-03-20  Stefan Monnier  <address@hidden>
+
+       * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
+
 2010-03-20  Glenn Morris  <address@hidden>
 
        * textmodes/rst.el: Use faces for font-lock customization, and make the

=== modified file 'lisp/outline.el'
--- a/lisp/outline.el   2010-03-19 03:32:47 +0000
+++ b/lisp/outline.el   2010-03-20 19:04:44 +0000
@@ -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 ()


reply via email to

[Prev in Thread] Current Thread [Next in Thread]