diff options
author | Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> | 2014-11-14 04:46:11 +0100 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2014-11-14 04:46:11 +0100 |
commit | 3bdc6ce7e34705dc09a938d07296230436ea089c (patch) | |
tree | 1faf71a350f127c3aa529c5f877a4a248735062b /lisp/bindings.el | |
parent | ba88f195330c513423feed4e5db4122c0e674e22 (diff) | |
download | emacs-3bdc6ce7e34705dc09a938d07296230436ea089c.tar.gz |
Bind `M-s M-s' globally to `eww-search-words'
Fixes: debbugs:16258
* etc/NEWS: Mention the new `M-s M-s' keystroke.
* lisp/bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
* net/eww.el (eww-search-words): New command.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index ac31723e02d..5864581d3cc 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -926,6 +926,7 @@ if `inhibit-field-text-motion' is non-nil." (define-key esc-map "s" search-map) (define-key search-map "o" 'occur) +(define-key search-map (kbd "M-s") 'eww-search-words) (define-key search-map "hr" 'highlight-regexp) (define-key search-map "hp" 'highlight-phrase) (define-key search-map "hl" 'highlight-lines-matching-regexp) |