# HG changeset patch # User Dave Love # Date 1042659898 0 # Node ID c84445fe778c7729ad2961d3e8cbeea9d805a25b # Parent af7779883f3b2614453bf25e6129a21a7d65ce59 (thing-at-point-file-name-chars): Include non-ASCII and use documented treatment of -. diff -r af7779883f3b -r c84445fe778c lisp/thingatpt.el --- a/lisp/thingatpt.el Wed Jan 15 17:53:16 2003 +0000 +++ b/lisp/thingatpt.el Wed Jan 15 19:44:58 2003 +0000 @@ -193,9 +193,9 @@ (put 'list 'end-op (function (lambda () (up-list 1)))) (put 'list 'beginning-op 'backward-sexp) -;; Filenames and URLs +;; Filenames and URLs www.com/foo%32bar -(defvar thing-at-point-file-name-chars "~/A-Za-z0-9---_.${}#%,:" +(defvar thing-at-point-file-name-chars "-~/[:alnum:]_.${}#%,:" "Characters allowable in filenames.") (put 'filename 'end-op