From: Dmitry Gutov Date: Fri, 2 Oct 2020 05:11:56 +0000 (+0200) Subject: Make xref work better on variables in shell-script-mode X-Git-Tag: emacs-28.0.90~5769 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f6277911eb2c520aec8f0efd80c91999226e3322;p=emacs.git 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). --- 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." ?~ "_" ?, "_" ?= "." + ?/ "." ?\; "." ?| "." ?& "."