Skip to content
Browse files

Fix bug in tree view toggle code.

  • Loading branch information...
1 parent c21fa49 commit 10c592665f6717d940daae68e51b6a7d25550b3d @nominolo committed May 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 emacs/scion.el
View
1 emacs/scion.el
@@ -284,6 +284,7 @@ This is used for labels spanning multiple lines."
(defun scion-tree-toggle (tree)
"Toggle the visibility of TREE's children."
(with-struct (scion-tree. collapsed-p start-mark end-mark prefix) tree
+ (goto-char start-mark)
(setf collapsed-p (not collapsed-p))
(scion-tree-delete tree)
(insert-before-markers " ") ; move parent's end-mark

0 comments on commit 10c5926

Please sign in to comment.
Something went wrong with that request. Please try again.