]> git.eshelyaron.com Git - emacs.git/commitdiff
Add "then" to sh--completion-keywords
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 10:16:30 +0000 (11:16 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Jan 2022 10:16:30 +0000 (11:16 +0100)
* lisp/progmodes/sh-script.el (sh--completion-keywords): Allow
completing over "then" (bug#53490).

lisp/progmodes/sh-script.el

index ba86ceb0eda4790c6b4545cf6e1f0b86bb5d1a06..3ad0f0182f83e1e4eff469a88b2b06ba58756925 100644 (file)
@@ -1602,7 +1602,7 @@ This adds rules for comments and assignments."
 
 ;;; Completion
 
-(defvar sh--completion-keywords '("if" "while" "until" "for"))
+(defvar sh--completion-keywords '("if" "while" "until" "for" "then"))
 
 (defun sh--vars-before-point ()
   (save-excursion