; * lisp/net/eww.el (eww-search-words): Doc fix.

This commit is contained in:
Eli Zaretskii 2020-09-29 18:07:44 +03:00
parent ce0842a165
commit 6f73cc3579

View file

@ -363,11 +363,11 @@ the default EWW buffer."
;;;###autoload ;;;###autoload
(defun eww-search-words () (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 If region is active (and not whitespace), search the web for
the text between BEG and END. Else, prompt the user for a search the text between region beginning and end. Else, prompt the
string. See the `eww-search-prefix' variable for the search user for a search string. See the variable `eww-search-prefix'
engine used." for the search engine used."
(interactive) (interactive)
(if (use-region-p) (if (use-region-p)
(let ((region-string (buffer-substring (region-beginning) (region-end)))) (let ((region-string (buffer-substring (region-beginning) (region-end))))