* lisp/progmodes/sh-script.el: Provide simpl(e|istic) completion.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 11 Oct 2013 03:28:31 +0000 (23:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 11 Oct 2013 03:28:31 +0000 (23:28 -0400)
commitdd0700198307557236b113b9620b379299a9d7cf
tree4223608220f8cf51e11398f40a66b3ef65f83b6d
parentb68e29263fbe7c31a54c0dab55a0121701ad8ec3
* lisp/progmodes/sh-script.el: Provide simpl(e|istic) completion.
(explicit-shell-file-name): Declare.
(sh--vars-before-point, sh--cmd-completion-table): New functions.
(sh-completion-at-point-function): New function.
(sh-mode): Use it.
(sh-smie--keyword-p): Remove unused argument.
(sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
vars.
(sh-set-shell): Always setup SMIE, even if we use the
old indentation code.
lisp/ChangeLog
lisp/progmodes/sh-script.el