aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuri Linkov2008-02-28 21:02:45 +0000
committerJuri Linkov2008-02-28 21:02:45 +0000
commit5c842d76fa043f799b73ed3050abb9a836639e86 (patch)
tree954303303104b9709971a63c07d262cc8ee67e43 /lisp/progmodes
parent56a8f9c5328eecadda8e456cce07ede68f2c847c (diff)
downloademacs-5c842d76fa043f799b73ed3050abb9a836639e86.tar.gz
emacs-5c842d76fa043f799b73ed3050abb9a836639e86.zip
(hs-minor-mode-menu): Compare `hs-isearch-open' with t instead of
`comment' in :selected for "Code and Comment blocks" menu item.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/hideshow.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 2b8e2ec0089..be284d1b089 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -386,7 +386,7 @@ Use the command `hs-minor-mode' to toggle or set this variable.")
386 :active t :style radio :selected (eq hs-isearch-open 'comment)] 386 :active t :style radio :selected (eq hs-isearch-open 'comment)]
387 ["Code and Comment blocks" (setq hs-isearch-open t) 387 ["Code and Comment blocks" (setq hs-isearch-open t)
388 :help "Show both hidden code and comment blocks when isearch matches inside them" 388 :help "Show both hidden code and comment blocks when isearch matches inside them"
389 :active t :style radio :selected (eq hs-isearch-open 'comment)] 389 :active t :style radio :selected (eq hs-isearch-open t)]
390 ["None" (setq hs-isearch-open nil) 390 ["None" (setq hs-isearch-open nil)
391 :help "Do not hidden code or comment blocks when isearch matches inside them" 391 :help "Do not hidden code or comment blocks when isearch matches inside them"
392 :active t :style radio :selected (eq hs-isearch-open nil)]))) 392 :active t :style radio :selected (eq hs-isearch-open nil)])))