aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/sh-script.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index aa6ada96cd4..ae90531a7fe 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1625,9 +1625,9 @@ with your script for an edit-interpret-debug cycle."
1625 (setq-local defun-prompt-regexp 1625 (setq-local defun-prompt-regexp
1626 (concat 1626 (concat
1627 "^\\(" 1627 "^\\("
1628 "\\(function[ \t]\\)?[ \t]*[[:alnum:]]+[ \t]*([ \t]*)" 1628 "\\(function[ \t]\\)?[ \t]*[[:alnum:]_]+[ \t]*([ \t]*)"
1629 "\\|" 1629 "\\|"
1630 "function[ \t]+[[:alnum:]]+[ \t]*\\(([ \t]*)\\)?" 1630 "function[ \t]+[[:alnum:]_]+[ \t]*\\(([ \t]*)\\)?"
1631 "\\)[ \t]*")) 1631 "\\)[ \t]*"))
1632 (setq-local add-log-current-defun-function #'sh-current-defun-name) 1632 (setq-local add-log-current-defun-function #'sh-current-defun-name)
1633 (add-hook 'completion-at-point-functions 1633 (add-hook 'completion-at-point-functions