emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a8caa66 3/4: Avoid recommending Google


From: Stefan Kangas
Subject: master a8caa66 3/4: Avoid recommending Google
Date: Thu, 28 Jan 2021 13:43:44 -0500 (EST)

branch: master
commit a8caa66906b157c9c2b4c4dc1c447b6a9e747c5e
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Avoid recommending Google
    
    * doc/misc/org.texi (Link Abbreviations):
    * lisp/net/webjump.el (webjump-sample-sites):
    * lisp/org/ol.el (org-link-shell-confirm-function)
    (org-link-elisp-confirm-function):
    * lisp/org/org.el (org-highlight-links):
    * lisp/wdired.el: Avoid recommending Google.
    
    squash! Avoid recommending Google
---
 doc/misc/org.texi   | 6 +++---
 lisp/net/webjump.el | 3 ---
 lisp/org/ol.el      | 8 ++++----
 lisp/org/org.el     | 2 +-
 lisp/wdired.el      | 4 ++--
 5 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index 5eeb098..8902d62 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -4071,7 +4071,7 @@ the link.  Such a function will be called with the tag as 
the only
 argument.
 
 With the above setting, you could link to a specific bug with
-@samp{[[bugzilla:129]]}, search the web for @samp{OrgMode} with 
@samp{[[google:OrgMode]]},
+@samp{[[bugzilla:129]]}, search the web for @samp{OrgMode} with 
@samp{[[duckduckgo:OrgMode]]},
 show the map location of the Free Software Foundation @samp{[[gmap:51
 Franklin Street, Boston]]} or of Carsten office @samp{[[omap:Science Park 904,
 Amsterdam, The Netherlands]]} and find out what the Org author is doing
@@ -4082,8 +4082,8 @@ can define them in the file with
 
 @cindex @samp{LINK}, keyword
 @example
-#+LINK: bugzilla  http://10.1.2.9/bugzilla/show_bug.cgi?id=
-#+LINK: google    http://www.google.com/search?q=%s
+#+LINK: bugzilla   http://10.1.2.9/bugzilla/show_bug.cgi?id=
+#+LINK: duckduckgo https://duckduckgo.com/?q=%s
 @end example
 
 In-buffer completion (see @ref{Completion}) can be used after @samp{[} to
diff --git a/lisp/net/webjump.el b/lisp/net/webjump.el
index e5941ae..1fa625c 100644
--- a/lisp/net/webjump.el
+++ b/lisp/net/webjump.el
@@ -96,9 +96,6 @@
     ("DuckDuckGo" .
      [simple-query "duckduckgo.com"
                   "duckduckgo.com/?q=" ""])
-    ("Google" .
-     [simple-query "www.google.com"
-                  "www.google.com/search?q=" ""])
     ("Google Groups" .
      [simple-query "groups.google.com"
                   "groups.google.com/groups?q=" ""])
diff --git a/lisp/org/ol.el b/lisp/org/ol.el
index d1db168..994e30f 100644
--- a/lisp/org/ol.el
+++ b/lisp/org/ol.el
@@ -376,9 +376,9 @@ changes to the current buffer."
 
 Shell links can be dangerous: just think about a link
 
-     [[shell:rm -rf ~/*][Google Search]]
+     [[shell:rm -rf ~/*][Web Search]]
 
-This link would show up in your Org document as \"Google Search\",
+This link would show up in your Org document as \"Web Search\",
 but really it would remove your entire home directory.
 Therefore we advise against setting this variable to nil.
 Just change it to `y-or-n-p' if you want to confirm with a
@@ -401,9 +401,9 @@ single keystroke rather than having to type \"yes\"."
   "Non-nil means ask for confirmation before executing Emacs Lisp links.
 Elisp links can be dangerous: just think about a link
 
-     [[elisp:(shell-command \"rm -rf ~/*\")][Google Search]]
+     [[elisp:(shell-command \"rm -rf ~/*\")][Web Search]]
 
-This link would show up in your Org document as \"Google Search\",
+This link would show up in your Org document as \"Web Search\",
 but really it would remove your entire home directory.
 Therefore we advise against setting this variable to nil.
 Just change it to `y-or-n-p' if you want to confirm with a
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 43aa0a1..2d21a44 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -1846,7 +1846,7 @@ link types.  The types are:
 bracket   The recommended [[link][description]] or [[link]] links with hiding.
 angle     Links in angular brackets that may contain whitespace like
           <bbdb:Carsten Dominik>.
-plain     Plain links in normal text, no whitespace, like http://google.com.
+plain     Plain links in normal text, no whitespace, like https://gnu.org.
 radio     Text that is matched by a radio target, see manual for details.
 tag       Tag settings in a headline (link to tag search).
 date      Time stamps (link to calendar).
diff --git a/lisp/wdired.el b/lisp/wdired.el
index f4a0b6d..037eb31 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -68,8 +68,8 @@
 
 ;;; Change Log:
 
-;; Google is your friend (previous versions with complete changelogs
-;; were posted to gnu.emacs.sources)
+;; Previous versions with complete changelogs were posted to
+;; gnu.emacs.sources.
 
 ;;; Code:
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]