# HG changeset patch # User Juri Linkov # Date 1204232532 0 # Node ID 8d89f150f3d7e8842322ffd7ecfad2a428ddd476 # Parent 0b6dc19a2e7049a1e68e48a1808f8e9164fc30b7 (hs-minor-mode-menu): Compare `hs-isearch-open' with t instead of `comment' in :selected for "Code and Comment blocks" menu item. diff -r 0b6dc19a2e70 -r 8d89f150f3d7 lisp/progmodes/hideshow.el --- a/lisp/progmodes/hideshow.el Thu Feb 28 20:46:30 2008 +0000 +++ b/lisp/progmodes/hideshow.el Thu Feb 28 21:02:12 2008 +0000 @@ -386,7 +386,7 @@ :active t :style radio :selected (eq hs-isearch-open 'comment)] ["Code and Comment blocks" (setq hs-isearch-open t) :help "Show both hidden code and comment blocks when isearch matches inside them" - :active t :style radio :selected (eq hs-isearch-open 'comment)] + :active t :style radio :selected (eq hs-isearch-open t)] ["None" (setq hs-isearch-open nil) :help "Do not hidden code or comment blocks when isearch matches inside them" :active t :style radio :selected (eq hs-isearch-open nil)])))