Mercurial > emacs
diff lisp/help.el @ 73233:b4697c34c8fd
* help.el (describe-mode): For clicks on mode-line, use "@"
interactive argument to get the major mode of the click instead of
the current buffer.
* isearch.el (isearch-mouse-2): Use new semantics of `key-binding'
in order to better redirect mouse-2 clicks. Also allow default
bindings to apply.
| author | David Kastrup <dak@gnu.org> |
|---|---|
| date | Tue, 03 Oct 2006 14:03:46 +0000 |
| parents | 8a999db76eda |
| children | 6a147e17a7cd 8dd8c8286063 |
line wrap: on
line diff
--- a/lisp/help.el Tue Oct 03 13:47:26 2006 +0000 +++ b/lisp/help.el Tue Oct 03 14:03:46 2006 +0000 @@ -764,7 +764,7 @@ For this to work correctly for a minor mode, the mode's indicator variable \(listed in `minor-mode-alist') must also be a function whose documentation describes the minor mode." - (interactive) + (interactive "@") (unless buffer (setq buffer (current-buffer))) (help-setup-xref (list #'describe-mode buffer) (interactive-p))
