]> git.eshelyaron.com Git - emacs.git/commitdiff
Make thingatpt recognise files names with @ in them
authorTino Calancha <tino.calancha@gmail.com>
Wed, 19 Aug 2020 11:52:21 +0000 (13:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Aug 2020 11:55:49 +0000 (13:55 +0200)
* lisp/thingatpt.el (thing-at-point-file-name-chars): Add @
(Bug#24606).

lisp/thingatpt.el

index 483a2c9bd836bfccf56a06e7abed26a48b3f71c8..3c2d766ffb1b19c08ce43e0bffb907dbe1bb9775 100644 (file)
@@ -258,7 +258,7 @@ E.g.:
 
 ;;  Filenames
 
-(defvar thing-at-point-file-name-chars "-~/[:alnum:]_.${}#%,:"
+(defvar thing-at-point-file-name-chars "-@~/[:alnum:]_.${}#%,:"
   "Characters allowable in filenames.")
 
 (define-thing-chars filename thing-at-point-file-name-chars)