]> git.eshelyaron.com Git - emacs.git/commitdiff
(thing-at-point-file-name-chars): Include non-ASCII
authorDave Love <fx@gnu.org>
Wed, 15 Jan 2003 19:44:58 +0000 (19:44 +0000)
committerDave Love <fx@gnu.org>
Wed, 15 Jan 2003 19:44:58 +0000 (19:44 +0000)
and use documented treatment of -.

lisp/thingatpt.el

index 47caf02b03a3340de270f00f81526c8969595bba..3723caf76fdfc5fc6b34f83302c769e0f45dbe39 100644 (file)
@@ -193,9 +193,9 @@ a symbol as a valid THING."
 (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