1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

(hs-minor-mode-menu): Compare `hs-isearch-open' with t instead of

`comment' in :selected for "Code and Comment blocks" menu item.
This commit is contained in:
Juri Linkov 2008-02-28 21:02:45 +00:00
parent 56a8f9c532
commit 5c842d76fa
2 changed files with 5 additions and 1 deletions

View File

@ -22,6 +22,10 @@
(minibuffer-local-map): Add menu items for next/previous
history elements and isearch history forward/backward.
* progmodes/hideshow.el (hs-minor-mode-menu): Compare
`hs-isearch-open' with t instead of `comment' in :selected
for "Code and Comment blocks" menu item.
2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
* uniquify.el (uniquify-buffer-base-name): Undo last change. Should be

View File

@ -386,7 +386,7 @@ Use the command `hs-minor-mode' to toggle or set this variable.")
: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)])))