From 6f73cc357994c2776ff8cd4f12804ebb20d29efd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 29 Sep 2020 18:07:44 +0300 Subject: [PATCH] ; * lisp/net/eww.el (eww-search-words): Doc fix. --- lisp/net/eww.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 568b96f4d58..449618bd672 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -363,11 +363,11 @@ the default EWW buffer." ;;;###autoload (defun eww-search-words () - "Search the web for the text between BEG and END. + "Search the web for the text in the region. If region is active (and not whitespace), search the web for -the text between BEG and END. Else, prompt the user for a search -string. See the `eww-search-prefix' variable for the search -engine used." +the text between region beginning and end. Else, prompt the +user for a search string. See the variable `eww-search-prefix' +for the search engine used." (interactive) (if (use-region-p) (let ((region-string (buffer-substring (region-beginning) (region-end)))) -- 2.39.5