From: Eli Zaretskii Date: Sat, 30 Nov 2024 10:34:40 +0000 (+0200) Subject: ; Improve commentary of last change. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cde826c074b9539f79e4d03298d1ba2da5807eef;p=emacs.git ; Improve commentary of last change. (cherry picked from commit 8ef44ca64eb40485751207096ee69930895364d9) --- 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