bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19441: [PATCH] thingatpt.el (thing-at-point-uri-schemes): Recognize


From: Mark Oteiza
Subject: bug#19441: [PATCH] thingatpt.el (thing-at-point-uri-schemes): Recognize man: links.
Date: Thu, 25 Dec 2014 13:54:31 -0500

---
The url library recognizes and parses man links.  thingatpt should do
the same.

 lisp/ChangeLog    | 4 ++++
 lisp/thingatpt.el | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6b0f296..9889472 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-25  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
+
+       * thingatpt.el (thing-at-point-uri-schemes): Recognize man: links.
+
 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
 
        * cus-start.el (resize-mini-windows): Make it customizable.
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index ea5819e..a725a28 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -283,7 +283,7 @@ If nil, construct the regexp from 
`thing-at-point-uri-schemes'.")
     "uuid:" "vemmi://"  "webcal://" "xri://" "xmlrpc.beep://"
     "xmlrpc.beeps://" "z39.50r://" "z39.50s://" "xmpp:"
     ;; Compatibility
-    "fax:" "mms://" "mmsh://" "modem:" "prospero:" "snews:";
+    "fax:" "man:" "mms://" "mmsh://" "modem:" "prospero:" "snews:";
     "wais://")
   "List of URI schemes recognized by `thing-at-point-url-at-point'.
 Each string in this list should correspond to the start of a
-- 
2.2.1






reply via email to

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