changeset 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 0b6dc19a2e70
children be4e2a3fa5b6
files lisp/progmodes/hideshow.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)])))