[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99690: (hide-sublevels): Don't hide
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99690: (hide-sublevels): Don't hide trailing newline (and fix paren typo). |
Date: |
Thu, 18 Mar 2010 23:32:47 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99690
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2010-03-18 23:32:47 -0400
message:
(hide-sublevels): Don't hide trailing newline (and fix paren typo).
modified:
lisp/ChangeLog
lisp/outline.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-03-19 02:55:37 +0000
+++ b/lisp/ChangeLog 2010-03-19 03:32:47 +0000
@@ -1,7 +1,11 @@
+2010-03-19 Stefan Monnier <address@hidden>
+
+ * outline.el (hide-sublevels): Don't hide trailing newline (and fix
+ parent typo).
+
2010-03-19 Glenn Morris <address@hidden>
- * password-cache.el (password-cache, password-cache-expiry):
- Autoload.
+ * password-cache.el (password-cache, password-cache-expiry): Autoload.
2010-03-18 Glenn Morris <address@hidden>
@@ -37,8 +41,8 @@
2010-03-15 Michael Albinus <address@hidden>
* net/secrets.el (top): Register the D-Bus signals only when the
- service "org.freedesktop.secrets" can be pinged. Provide
- subfeature 'enabled.
+ service "org.freedesktop.secrets" can be pinged.
+ Provide subfeature `enabled'.
2010-03-14 Juri Linkov <address@hidden>
=== modified file 'lisp/outline.el'
--- a/lisp/outline.el 2010-03-12 17:47:22 +0000
+++ b/lisp/outline.el 2010-03-19 03:32:47 +0000
@@ -914,8 +914,12 @@
(outline-map-region
(lambda ()
(if (<= (funcall outline-level) levels)
- (outline-show-heading)))
- beg end)))
+ (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 ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99690: (hide-sublevels): Don't hide trailing newline (and fix paren typo).,
Stefan Monnier <=