summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-09-29 18:07:44 +0300
committerEli Zaretskii <eliz@gnu.org>2020-09-29 18:07:44 +0300
commit6f73cc357994c2776ff8cd4f12804ebb20d29efd (patch)
treec8fb8d762ea13e26ad5d5b684405e87765826ff9
parentce0842a165d0496e08accd211eab711d7c1c3b87 (diff)
downloademacs-6f73cc357994c2776ff8cd4f12804ebb20d29efd.tar.gz
; * lisp/net/eww.el (eww-search-words): Doc fix.
-rw-r--r--lisp/net/eww.el8
1 files 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))))