From cde826c074b9539f79e4d03298d1ba2da5807eef Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 30 Nov 2024 12:34:40 +0200 Subject: [PATCH] ; Improve commentary of last change. (cherry picked from commit 8ef44ca64eb40485751207096ee69930895364d9) --- lisp/progmodes/sh-script.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index a070b2efbbb..7db892d6e83 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -301,7 +301,7 @@ naming the shell." "^\\s-*\\([[:alpha:]_][[:alnum:]_]*\\)\\s-*()" 1))) ;; The difference between the Bash regular expression and the sh regular - ;; expression is that Bash also allows hyphens (-). + ;; expression is that Bash also allows hyphens (-) in function names. (bash . ((nil ;; function FOO -- 2.39.2