diff options
| author | Juri Linkov | 2008-02-28 21:02:45 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-02-28 21:02:45 +0000 |
| commit | 5c842d76fa043f799b73ed3050abb9a836639e86 (patch) | |
| tree | 954303303104b9709971a63c07d262cc8ee67e43 | |
| parent | 56a8f9c5328eecadda8e456cce07ede68f2c847c (diff) | |
| download | emacs-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.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/hideshow.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5764330bcce..6ea84c84d1a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -22,6 +22,10 @@ | |||
| 22 | (minibuffer-local-map): Add menu items for next/previous | 22 | (minibuffer-local-map): Add menu items for next/previous |
| 23 | history elements and isearch history forward/backward. | 23 | history elements and isearch history forward/backward. |
| 24 | 24 | ||
| 25 | * progmodes/hideshow.el (hs-minor-mode-menu): Compare | ||
| 26 | `hs-isearch-open' with t instead of `comment' in :selected | ||
| 27 | for "Code and Comment blocks" menu item. | ||
| 28 | |||
| 25 | 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca> | 29 | 2008-02-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 26 | 30 | ||
| 27 | * uniquify.el (uniquify-buffer-base-name): Undo last change. Should be | 31 | * uniquify.el (uniquify-buffer-base-name): Undo last change. Should be |
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)]))) |