From f6277911eb2c520aec8f0efd80c91999226e3322 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 2 Oct 2020 07:11:56 +0200 Subject: [PATCH] Make xref work better on variables in shell-script-mode * 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 3c249b7bc0e..a8c0e045c6b 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -386,6 +386,7 @@ name symbol." ?~ "_" ?, "_" ?= "." + ?/ "." ?\; "." ?| "." ?& "." -- 2.39.5