From: Eli Zaretskii Date: Tue, 29 Sep 2020 15:07:44 +0000 (+0300) Subject: ; * lisp/net/eww.el (eww-search-words): Doc fix. X-Git-Tag: emacs-27.1.90~129 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f73cc3579;p=emacs.git ; * lisp/net/eww.el (eww-search-words): Doc fix. --- 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))))