diff options
| author | Lars Ingebrigtsen | 2022-01-24 11:16:30 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-01-24 11:16:30 +0100 |
| commit | bcf844b5fcaeff3548e35b6a6e3c320c8187ae06 (patch) | |
| tree | fe27ca610761c39def2afcd7dde97d3e21b7b113 | |
| parent | 842ea1e22f2251e62a23c3fafdd7d1571f730d7d (diff) | |
| download | emacs-bcf844b5fcaeff3548e35b6a6e3c320c8187ae06.tar.gz emacs-bcf844b5fcaeff3548e35b6a6e3c320c8187ae06.zip | |
Add "then" to sh--completion-keywords
* lisp/progmodes/sh-script.el (sh--completion-keywords): Allow
completing over "then" (bug#53490).
| -rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index ba86ceb0eda..3ad0f0182f8 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1602,7 +1602,7 @@ This adds rules for comments and assignments." | |||
| 1602 | 1602 | ||
| 1603 | ;;; Completion | 1603 | ;;; Completion |
| 1604 | 1604 | ||
| 1605 | (defvar sh--completion-keywords '("if" "while" "until" "for")) | 1605 | (defvar sh--completion-keywords '("if" "while" "until" "for" "then")) |
| 1606 | 1606 | ||
| 1607 | (defun sh--vars-before-point () | 1607 | (defun sh--vars-before-point () |
| 1608 | (save-excursion | 1608 | (save-excursion |