Added numoro-inconnu-search.

Pascal J. Bourguignon [2021-03-15 10:50]
Added numoro-inconnu-search.
Filename
pjb-searches.el
diff --git a/pjb-searches.el b/pjb-searches.el
index 7ff410c..a92919c 100644
--- a/pjb-searches.el
+++ b/pjb-searches.el
@@ -166,6 +166,13 @@
   (%search-region start end 'symbol 'project-search))


+(defun numero-inconnu-search (&optional numero)
+  "Search for the phone `number' in the numeroinconnu.fr database."
+  (interactive "sNumero: ")
+  (browse-url (format "https://www.numeroinconnu.fr/numero/%s" numero)))
+(defalias 'ni 'numero-inconnu-search)
+
+
 (defun google-search (search-string)
   "Search a string with Google."
   (interactive "sGoogle Search: ")
ViewGit