1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

; * 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
(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))))