# HG changeset patch # User Thien-Thi Nguyen # Date 1182499418 0 # Node ID ed157fbce08b23738e9e4ac21308b4e0bdf53c0f # Parent a8101d5b9dd987251c77e58dc26a170f28417c73 Untabify; nfc. diff -r a8101d5b9dd9 -r ed157fbce08b lisp/progmodes/hideshow.el --- a/lisp/progmodes/hideshow.el Fri Jun 22 07:56:38 2007 +0000 +++ b/lisp/progmodes/hideshow.el Fri Jun 22 08:03:38 2007 +0000 @@ -705,7 +705,7 @@ (if (and c-reg (nth 0 c-reg)) ;; point is inside a comment, and that comment is hidable (goto-char (nth 0 c-reg)) - (end-of-line) + (end-of-line) (when (and (not c-reg) (hs-find-block-beginning) (looking-at hs-block-start-regexp)) @@ -906,9 +906,9 @@ (progn (hs-grok-mode-type) ;; Turn off this mode if we change major modes. - (add-hook 'change-major-mode-hook - 'turn-off-hideshow - nil t) + (add-hook 'change-major-mode-hook + 'turn-off-hideshow + nil t) (easy-menu-add hs-minor-mode-menu) (set (make-local-variable 'line-move-ignore-invisible) t) (add-to-invisibility-spec '(hs . t)))