]> git.eshelyaron.com Git - emacs.git/commitdiff
Make xref work better on variables in shell-script-mode
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 2 Oct 2020 05:11:56 +0000 (07:11 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 2 Oct 2020 05:11:56 +0000 (07:11 +0200)
* lisp/progmodes/sh-script.el (sh-mode-syntax-table): Classify "/"
as punctuation so that `M-.' on $foo/bar works on the $foo part
(bug#25585).

lisp/progmodes/sh-script.el

index 3c249b7bc0e455c141be981d2f796451ed519dfa..a8c0e045c6b0444df06f4e706271d17bc5510e67 100644 (file)
@@ -386,6 +386,7 @@ name symbol."
        ?~ "_"
        ?, "_"
        ?= "."
+        ?/ "."
        ?\; "."
        ?| "."
        ?& "."