bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16258: 24.3.50; [PATCH] eww: Add new function of region-search.


From: Lars Ingebrigtsen
Subject: bug#16258: 24.3.50; [PATCH] eww: Add new function of region-search.
Date: Thu, 26 Dec 2013 14:56:04 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> writes:

> +    (define-key map [(meta s)(meta s)] 'eww-search-region)

[...]

> +(defun eww-search-region (&optional beg end)
> +  (interactive "r")
> +  (eww (buffer-substring beg end)))

Hm...  so this would just use the default search engine to search for
whatever is in the region?  I'm not sure that that's a useful eww mode
command, but it might be a useful global command...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]