mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
* outline.el (hide-sublevels): Ensure that arguments are passed to
outline-flag-region in the correct order (Bug#3000).
This commit is contained in:
parent
dee8ac1084
commit
3d0dd8ff4a
@ -1,3 +1,8 @@
|
||||
2009-04-15 William Xu <william.xwl@gmail.com>
|
||||
|
||||
* outline.el (hide-sublevels): Ensure that arguments are passed to
|
||||
outline-flag-region in the correct order (Bug#3000).
|
||||
|
||||
2009-04-15 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* net/browse-url.el (browse-url-filename-alist): Correct file
|
||||
|
@ -905,6 +905,8 @@ Show the heading too, if it is currently invisible."
|
||||
(goto-char (point-max))
|
||||
;; Keep empty last line, if available.
|
||||
(if (bolp) (1- (point)) (point)))))
|
||||
(if (< end beg)
|
||||
(setq beg (prog1 end (setq end beg))))
|
||||
;; First hide everything.
|
||||
(outline-flag-region beg end t)
|
||||
;; Then unhide the top level headers.
|
||||
|
Loading…
Reference in New Issue
Block a user