diff lisp/progmodes/hideshow.el @ 92312:8d89f150f3d7

(hs-minor-mode-menu): Compare `hs-isearch-open' with t instead of `comment' in :selected for "Code and Comment blocks" menu item.
author Juri Linkov <juri@jurta.org>
date Thu, 28 Feb 2008 21:02:12 +0000
parents a60153302fa5
children 52b7a8c22af5
line wrap: on
line diff
--- 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)])))