emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f627791: Make xref work better on variables in shell-script-mode


From: Lars Ingebrigtsen
Subject: master f627791: Make xref work better on variables in shell-script-mode
Date: Fri, 2 Oct 2020 01:12:06 -0400 (EDT)

branch: master
commit f6277911eb2c520aec8f0efd80c91999226e3322
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 3c249b7..a8c0e04 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -386,6 +386,7 @@ name symbol."
        ?~ "_"
        ?, "_"
        ?= "."
+        ?/ "."
        ?\; "."
        ?| "."
        ?& "."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]