From 3bdc6ce7e34705dc09a938d07296230436ea089c Mon Sep 17 00:00:00 2001 From: Kenjiro NAKAYAMA Date: Fri, 14 Nov 2014 04:46:11 +0100 Subject: 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. --- lisp/bindings.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/bindings.el') 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) -- cgit v1.2.1