summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorKenjiro NAKAYAMA <nakayamakenjiro@gmail.com>2014-11-14 04:46:11 +0100
committerLars Magne Ingebrigtsen <larsi@gnus.org>2014-11-14 04:46:11 +0100
commit3bdc6ce7e34705dc09a938d07296230436ea089c (patch)
tree1faf71a350f127c3aa529c5f877a4a248735062b /lisp/bindings.el
parentba88f195330c513423feed4e5db4122c0e674e22 (diff)
downloademacs-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.el1
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)